When creating an organization site with a site template, an option to disable propagation of changes should be provided

Description

When creating a regular site from the Control Panel using a site template a checkbox allows enabling or disabling the propagation of changes from the site template. But when creating a site from the organization edit form this option is not shown and the default is to enable such propagation.

While it is possible to disable the propagation later through the Site Settings, this is quite annoying for users specially those migrating from 6.0 which were used to not having propagation at all.

The solution should be to show the checkbox so that the org administrator can decide what he wants.

Activity

Show:

Kiyoshi Lee July 24, 2012 at 10:32 AM

PASSED Manual Testing using the following steps:

  1. Navigate to the Control Panel

  2. Click Users and Organizations

  3. Click Add > Regular Organization

  4. Enter a name

  5. Click Organization Site

  6. Flag Create Site

  7. Select Community Site from the Public Pages drop down

    • Assert that a checkbox and Enable propagation of changes from the site template. displays below Public Pages

  8. Select Intranet Site from the Private Pages drop down

    • Assert that a checkbox and Enable propagation of changes from the site template. displays below Private Pages

Reproduced on:
Tomcat 7.0 + MySQL 5. Portal 6.1.x CE GIT ID: f79ddadf813ef9c22e08d50b15112b1094ef9738.
Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: cd7a6231a1166d20e9b75a789409ea0dc86bb4e0.
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: de9dce59cac388c0c6362ceeb3d6fd1bd9eea442.

A user is only able to disable the propagation of changes through Site Settings.

Fixed on:
Tomcat 7.0 + MySQL 5. Portal 6.1.x CE GIT ID: 5fadb2c21ee5767d10a3bd913e0badb86972a64b.
Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 9c3a7ede3b980c49fc2a23958f03f5b5faf3bad4.
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 1e3f5ab831e6412a431e7d6ed4c45d43fdad97b6.

A user is now able to disable the propagation of changes while creating the Organization site.

Michael Saechang July 10, 2012 at 3:36 PM

Committed on:
Portal 6.1.x CE GIT ID: f8b9f60871ccbb941d56383a99e3efd197a27e48.
Portal 6.2.x GIT ID: 8a60ad34f6f055532ce182e110fbcb07c349bc6d.

Jorge Ferrer May 11, 2012 at 4:20 AM

Great to hear Henri. Thanks for confirming it.

Henri Koskenranta May 10, 2012 at 12:41 AM

The workaround Jorge describes works. You can just add two hidden input-elements with value false for private and public sites. This will set the propagation disabled.

Jorge Ferrer May 7, 2012 at 2:56 AM

The workaround for this bug for cases in which it is always desired to disable propagation of changes is to override the file html/portlet/users_admin/organization/organization_site.jsp and pass that parameter to the action hardcoded. The action is already prepared to read parameters called publicLayoutSetPrototypeLinkEnabled and privateLayoutSetPrototypeLinkEnabled. Set them to false to disable propagation.

Fixed

Details

Assignee

Reporter

Labels

Branch Version/s

6.1.x

Backported to Branch

Committed

Fix Priority

3

Git Pull Request

Components

Priority

Zendesk Support

Created May 7, 2012 at 2:54 AM
Updated June 24, 2023 at 3:52 PM
Resolved July 3, 2012 at 3:45 PM
Loading...