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

Trong Tran (JIRA) jira-events at lists.jboss.org
Sun Nov 7 22:45:02 EST 2010


     [ https://jira.jboss.org/browse/GTNPORTAL-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trong Tran resolved GTNPORTAL-1549.
-----------------------------------

    Resolution: Done


> 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
>            Assignee: Vu Viet Phuong
>             Fix For: 3.2.0-GA
>
>   Original Estimate: 6 hours
>  Remaining Estimate: 6 hours
>
> 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