[gatein-issues] [JBoss JIRA] (GTNPORTAL-3520) Potential dupication of UI component's id when edit layout

Vu Viet Phuong (JIRA) issues at jboss.org
Tue Jul 15 03:08:29 EDT 2014


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

Vu Viet Phuong resolved GTNPORTAL-3520.
---------------------------------------

    Resolution: Done


> Potential dupication of UI component's id when edit layout
> ----------------------------------------------------------
>
>                 Key: GTNPORTAL-3520
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-3520
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.8.2.Final
>            Reporter: Vu Viet Phuong
>            Assignee: Vu Viet Phuong
>             Fix For: 3.7.2.Final
>
>
> - To reproduce this bug, we need to modify the pre-define portal layout, edit portal.xml (https://github.com/gatein/gatein-portal/blob/3.8.4.Final/web/portal/src/main/webapp/WEB-INF/conf/portal/portal/template/classic/portal.xml)
> Add this config to the sitelayout
> <container id="TestContainer" template="system:/groovy/portal/webui/container/UIContainer.gtmpl">
>   <access-permissions>Everyone</access-permissions>
> </container>
> --> Start fresh gatein
> - Create 2 new portal site "test1", "test2" with template "classic"
> - Go to test1 site --> site management page --> edit layout of "test2"
> - Edit the "TestContainer" properties, then save
> - Now edit "test2" layout again --> now what we have modified on "TestContainer" of "test2" is gone
> --> The problem is, there is a duplication of id on 2 site "test1" and "test2"



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the gatein-issues mailing list