[gatein-issues] [JBoss JIRA] (GTNPORTAL-2825) NPE due to logical typo in UIMaskLayer.js

Trong Tran (JIRA) jira-events at lists.jboss.org
Thu Feb 21 03:58:56 EST 2013


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

Trong Tran updated GTNPORTAL-2825:
----------------------------------

    Labels: portal-s70  (was: )

    
> NPE due to logical typo in UIMaskLayer.js
> -----------------------------------------
>
>                 Key: GTNPORTAL-2825
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-2825
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: WebUI
>            Reporter: Matt Wringe
>              Labels: portal-s70
>
> When using Chrome (note: does not happen with Firefox) and with a custom skin, an NPE gets thrown due to a logical typo in UIMaskLayer.js
> It is currently checking:
> if (offsetParent && offset.left != 0 || offset.top != 0) {...}
> When it should be checking:
> if (offsetParent && (offset.left != 0 || offset.top != 0)) {...}
> Without the change, an error occurs about not being able to read the value top from null.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the gatein-issues mailing list