[gatein-issues] [JBoss JIRA] Commented: (GTNPORTAL-807) Error when click on Dashboard with IBM JDK 1.6

Matt Wringe (JIRA) jira-events at lists.jboss.org
Mon Mar 8 15:12:58 EST 2010


    [ https://jira.jboss.org/jira/browse/GTNPORTAL-807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12518782#action_12518782 ] 

Matt Wringe commented on GTNPORTAL-807:
---------------------------------------

This issue appears to be something strange with Groovy, its trying to resolve size from an array list from the class contained in the arraylist.

For example in UIDashboardSelectContainer.gtmpl is does something like:

'List categories = uicomponent.getCategories()'
and then fails on 'categories.size' because its trying to find the size property not of the array but of the classes within the array (in this case ApplicationCategory).

But, if we are to use '!categories.isEmpty()' instead of 'categories.size > 0' then it works.


> Error when click on Dashboard with IBM JDK 1.6
> ----------------------------------------------
>
>                 Key: GTNPORTAL-807
>                 URL: https://jira.jboss.org/jira/browse/GTNPORTAL-807
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>         Environment: GateIn (rev. 1961)
> IBM JDK 1.6
>            Reporter: Michal Vanco
>            Assignee: Matt Wringe
>             Fix For: 3.0.0-GA
>
>         Attachments: log_test_34.txt
>
>
> When click on Dashboard, there is an error in log - attached.
> There is also popup window with message: "The target blockId to update is not found : UIMaskWorkspace"
>  - procedure is following: Sign in -> go to Dashboard -> click Dashboard Editor-Edit layout -> edit any portlet
> It is based on UI selenium test No.34 which is failing on ibm jdk.

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

        


More information about the gatein-issues mailing list