]
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/m...)
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"