[gatein-issues] [JBoss JIRA] Commented: (GTNPORTAL-1288) the layout edition does not work correctly if drag a portlet out of a container
Minh Hoang TO (JIRA)
jira-events at lists.jboss.org
Mon Jun 7 22:00:38 EDT 2010
[ https://jira.jboss.org/browse/GTNPORTAL-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12534344#action_12534344 ]
Minh Hoang TO commented on GTNPORTAL-1288:
------------------------------------------
My last comment did not point out the root cause of the problem. First, we need to clearify the cases to reproduce issue
Consider a container A, and another inner container/portlet B. Drag B out of A, then drop it on the top level container UIPage/UIPortal (corresponding to Edit Page/ Edit Layout)
1. If the new position of B is below A, then either there is ClassCastException or B disappears
2. If the new position of B is above A, then everything works well
There must be order-related in recursive method saveChildren from class Mapper
> the layout edition does not work correctly if drag a portlet out of a container
> -------------------------------------------------------------------------------
>
> Key: GTNPORTAL-1288
> URL: https://jira.jboss.org/browse/GTNPORTAL-1288
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.1.0-CR01
> Environment:
> Reporter: Trong Tran
> Assignee: Minh Hoang TO
> Fix For: 3.1.0-GA
>
> Attachments: exception.txt
>
>
> Assume that the current page/site layout has a portlet A inner a container B. Then
> - we go to edit the page/site layout
> - drag the portlet A out of the container B
> - CLick on Save button :
> + In page layout edition, there will a java.lang.ClassCastException exception ( attached exception.txt file )
> + In site layout edition, Save successfully but the portlet A will be removed
--
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