[gatein-issues] [JBoss JIRA] Created: (GTNPORTAL-1549) A wrong JS code that may cause potential namespace conflict issues

Trong Tran (JIRA) jira-events at lists.jboss.org
Fri Oct 8 05:57:39 EDT 2010


A wrong JS code that may cause potential namespace conflict issues
------------------------------------------------------------------

                 Key: GTNPORTAL-1549
                 URL: https://jira.jboss.org/browse/GTNPORTAL-1549
             Project: GateIn Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 3.1.0-GA
            Reporter: Trong Tran
             Fix For: 3.2.0-GA


At line 551 in the file PortalHttpRequest.js :

{code}
   Browser = eXo.core.Browser;
{code}

Accidentally we set eXo.core.Browser to a global variable named Browser which may cause potential namespace conflict issues if the third party uses an external JS framework.

We need to review whole GateIn JS code to avoid this kind of code

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list