Resetting a Site Template overwrites customized contents with the original ones

Description

Steps to reproduce:

1. Login as an admin
2. Go to Control Panel -> Site Templates
3. Add a new Site Template. Leave the "Allow Site Administrator to Modify the Pages Associated with This Site Template" checked.
4. Edit the new Site Template
5. At the home page of the Site Template, add a Wiki Portlet
6. Edit the FrontPage content, enter "My Original Frontpage Content" at the editor and click Publish.
7. Go back to Control Panel and add a new Site based on the Site Template created above
8. Go to the new Site and edit the FrontPage content. At the editor, write "My custom Frontpage Content".
9. Add a any other portlet to the homepage of the Site and refresh the page. Right below the dockbar, a warning message and a Reset button are displayed.
10. Click the Reset button to restore the page as it was defined in the Site Template.
11. The Wiki portlet displays now "My Original Frontpage Content" instead of the customized one.

Contents defined at Site-Template level should be used as default only the first time.

Activity

Show:

Brian ChiuJuly 19, 2012 at 2:25 PM

PASSED Manual Testing following the steps in the description.

Reproduced on:
Tomcat 7.0.27 + MySQL 5. Portal 6.1.x EE GIT ID: 95dd5ed30ce15f5cadfea4e5c3f849bdefbb5468.
Tomcat 7.0.27 + MySQL 5. Portal 6.2.x GIT ID: 8ece2fb4892f2b4a3a4b8a5637a809ca7959e46e.

The custom data gets reverted back to the template default. "My Custom Frontpage Content" was overwritten by "My Original Frontpage Content".

Fixed on:
Tomcat 7.0.27 + MySQL 5. Portal 6.1.x EE GIT ID: 4e3c632a20e2070de862b7e2eddd3629a993b2c9.
Tomcat 7.0.27 + MySQL 5. Portal 6.2.x GIT ID: f5bba9e3585a0eaa8baa5abe119afca13c536cb3.
Tomcat 7.0.27 + MySQL 5. Portal 6.1.20 GIT ID: 84346911e0ea51454838f34e493c3d0dd8960fee.

"My Custom Frontpage Content" doesn't get overwritten now.

Michael SaechangJuly 13, 2012 at 2:48 PM

Committed on:
Portal 6.1.x CE GIT ID: fa59f5d0ce48c2e4d7459816af2ff3afe8e209dc.
Portal 6.2.x GIT ID: 4ba8b0af1fcd3d3c387b8d672ee13bb67bdc1d04.

Fixed

Details

Assignee

Reporter

Labels

Branch Version/s

6.1.x

Backported to Branch

Committed

Fix Priority

5

Git Pull Request

Components

Priority

Zendesk Support

Created July 2, 2012 at 7:20 AM
Updated June 24, 2023 at 3:54 PM
Resolved July 4, 2012 at 3:06 PM
Loading...