[JBoss JIRA] (GTNPORTAL-2825) NPE due to logical typo in UIMaskLayer.js
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2825?page=com.atlassian.jira.pl... ]
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
12 years
[JBoss JIRA] (GTNPORTAL-2825) NPE due to logical typo in UIMaskLayer.js
by Matt Wringe (JIRA)
Matt Wringe created GTNPORTAL-2825:
--------------------------------------
Summary: 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
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
12 years
[JBoss JIRA] (GTNPORTAL-2823) Fix node update in REST API to allow displayName & displayNames as part of request.
by Nick Scavelli (JIRA)
Nick Scavelli created GTNPORTAL-2823:
----------------------------------------
Summary: Fix node update in REST API to allow displayName & displayNames as part of request.
Key: GTNPORTAL-2823
URL: https://issues.jboss.org/browse/GTNPORTAL-2823
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: REST API
Reporter: Nick Scavelli
Assignee: Nick Scavelli
Fix For: 3.6.0.Final
Currently the REST API does not allow sending of both displayName and displayNames. This is not friendly as it's custom to retrieve the json for a node, modify it, and send it.
So when displayNames is specified ignore the displayName field as the displayNames array is what defines the displayName.
--
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
12 years