PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-27157

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

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      3
    • Similar Issues:
      Show 4 results 

      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.

        Issue Links

          Activity

          Hide
          Jorge Ferrer added a comment -

          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.

          Show
          Jorge Ferrer added a comment - 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.
          Hide
          Henri Koskenranta added a comment -

          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.

          Show
          Henri Koskenranta added a comment - 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.
          Hide
          Jorge Ferrer added a comment -

          Great to hear Henri. Thanks for confirming it.

          Show
          Jorge Ferrer added a comment - Great to hear Henri. Thanks for confirming it.
          Hide
          Michael Saechang added a comment -

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

          Show
          Michael Saechang added a comment - Committed on: Portal 6.1.x CE GIT ID: f8b9f60871ccbb941d56383a99e3efd197a27e48. Portal 6.2.x GIT ID: 8a60ad34f6f055532ce182e110fbcb07c349bc6d.
          Hide
          Kiyoshi Lee added a comment -

          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.

          Show
          Kiyoshi Lee added a comment - PASSED Manual Testing using the following steps: Navigate to the Control Panel Click Users and Organizations Click Add > Regular Organization Enter a name Click Organization Site Flag Create Site 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 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.

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 1 week ago

                Development

                  Structure Helper Panel