[ 
https://issues.apache.org/jira/browse/NIFI-638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14563849#comment-14563849
 ] 

Matt Gilman commented on NIFI-638:
----------------------------------

Because the documentation is present within the application and the website, we 
are attempting to load jQuery in the most efficient means as possible. Since 
we're already bundling jQuery within the application we load from there if 
possible. If we're unable to load locally we pull in jQuery from it's CDN. This 
was only suppose to happen when accessed via the website. Unfortunately the 
issue was masked initially and only presents itself if there is no access to 
the CDN. 

> Rest API documentation is not clickable
> ---------------------------------------
>
>                 Key: NIFI-638
>                 URL: https://issues.apache.org/jira/browse/NIFI-638
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 0.1.0
>            Reporter: Dan Bress
>            Assignee: Matt Gilman
>            Priority: Minor
>
> When I try and access the Rest Api documentation inside of a running instance 
> of Apache NiFi none of the links work.  I cannot click on Controller, Process 
> Groups, Processors, Connections... etc and get the Rest Api documentation for 
> them.
> I did a little digging, and if you look here:
> https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/resources/templates/index.html.hbs#L21
> You will see that the page is loading jquery with this relative path:
> ../nifi/js/jquery/jquery-2.1.1.min.js
> From this absolute path:
> http://localhost:8080/nifi-docs/nifi/js/jquery/jquery-2.1.1.min.js
> When it probably should be this relative path:
> ../../nifi/js/jquery/jquery-2.1.1.min.js
> To get this absolute path:
> http://localhost:8080/nifi/js/jquery/jquery-2.1.1.min.js



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to