[gatein-issues] [JBoss JIRA] (GTNPORTAL-2825) NPE due to logical typo in UIMaskLayer.js
Boleslaw Dawidowicz (JIRA)
jira-events at lists.jboss.org
Fri Feb 22 05:19:57 EST 2013
[ https://issues.jboss.org/browse/GTNPORTAL-2825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boleslaw Dawidowicz resolved GTNPORTAL-2825.
--------------------------------------------
Fix Version/s: 3.6.0.Final
Resolution: Done
> 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
> Fix For: 3.6.0.Final
>
>
> 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