[jira] [Updated] (AIRAVATA-2165) In Firefox, portal pages are loaded twice more, with errors

2016-12-19 Thread Eroma (JIRA)

 [ 
https://issues.apache.org/jira/browse/AIRAVATA-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eroma updated AIRAVATA-2165:

Fix Version/s: 0.17

> In Firefox, portal pages are loaded twice more, with errors
> ---
>
> Key: AIRAVATA-2165
> URL: https://issues.apache.org/jira/browse/AIRAVATA-2165
> Project: Airavata
>  Issue Type: Bug
>Reporter: Marcus Christie
>Assignee: Marcus Christie
> Fix For: 0.17
>
> Attachments: AIRAVATA-2165_firefox_network.png
>
>
> In Firefox (doesn't seem to affect Safari or Chrome), every time a portal 
> page loads, the page gets loaded again, twice.
> I tracked this down to this part of the web page
> {code:xml}
> 
>  src="">
>  src="">
> {code}
> Apparently the empty {{src}} path is interpreted as meaning that the current 
> URL should be loaded as a script.
> Since the web page is loaded into a 

[jira] [Updated] (AIRAVATA-2165) In Firefox, portal pages are loaded twice more, with errors

2016-10-13 Thread Marcus Christie (JIRA)

 [ 
https://issues.apache.org/jira/browse/AIRAVATA-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcus Christie updated AIRAVATA-2165:
--
Attachment: AIRAVATA-2165_firefox_network.png

> In Firefox, portal pages are loaded twice more, with errors
> ---
>
> Key: AIRAVATA-2165
> URL: https://issues.apache.org/jira/browse/AIRAVATA-2165
> Project: Airavata
>  Issue Type: Bug
>Reporter: Marcus Christie
>Assignee: Marcus Christie
> Attachments: AIRAVATA-2165_firefox_network.png
>
>
> In Firefox (doesn't seem to affect Safari or Chrome), every time a portal 
> page loads, the page gets loaded again, twice.
> I tracked this down to this part of the web page
> {code:xml}
> 
>  src="">
>  src="">
> {code}
> Apparently the empty {{src}} path is interpreted as meaning that the current 
> URL should be loaded as a script.
> Since the web page is loaded into a 

[jira] [Updated] (AIRAVATA-2165) In Firefox, portal pages are loaded twice more, with errors

2016-10-13 Thread Marcus Christie (JIRA)

 [ 
https://issues.apache.org/jira/browse/AIRAVATA-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcus Christie updated AIRAVATA-2165:
--
Description: 
In Firefox (doesn't seem to affect Safari or Chrome), every time a portal page 
loads, the page gets loaded again, twice.

I tracked this down to this part of the web page
{code:xml}





{code}

Apparently the empty {{src}} path is interpreted as meaning that the current 
URL should be loaded as a script.

Since the web page is loaded into a {{}} tag, the browser tries to 
interpret it as JavaScript but fails, so I also see this in the console
{noformat}
09:04:27.443 SyntaxError: expected expression, got '<'1dashboard:1
09:04:27.891 SyntaxError: expected expression, got '<'1dashboard:1
{noformat}

For the most part this is harmless. But since it loads the whole page 3 times, 
it takes about 3 times as long to load each page.  Also, some of the JavaScript 
only runs on the {{$(document).ready(..)}} event, and this code won't run until 
the page is loaded 3 times, during which time interactive portions of the page 
are unavailable.

I verified that this bug affects seagrid.org as well.

I'll post a screenshot of the network requests which will show the loading of 
the page three times as well as the console errors.

!AIRAVATA\-2165_firefox_network.png|thumbnail!

  was:
In Firefox (doesn't seem to affect Safari or Chrome), every time a portal page 
loads, the page gets loaded again, twice.

I tracked this down to this part of the web page
{code:xml}