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

Error adding page, if the current page and its parent belongs to a site template

    Details

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

      Description

      Steps to reproduce:
      -------------------

      Create a site template "SiteTemplate". Do not allow modifications.
      Add to it one page "Page A"
      Add to "Page A" a subpage "Subpage A"
      Create a site "TestSite" that implements "SiteTemplate".
      Go to TestSite -> Subpage A
      In the dockbar, select "Add page".
      Nothing happens and there is an error in the js browser console.

      The problem is that you shouldn't be able to press "Add page" on this page, it does not allow modifications. Then it is checked in java and the validation fails, returning a json is not processable.

        Issue Links

          Activity

          Hide
          Victor Miranda (Inactive) added a comment -

          Delegate permission controls to Service methods. Now, the permissions are checked in service methods instead of UpdateLayoutAction class

          Show
          Victor Miranda (Inactive) added a comment - Delegate permission controls to Service methods. Now, the permissions are checked in service methods instead of UpdateLayoutAction class
          Hide
          Yang Gao (Inactive) added a comment -

          PASSED Manual Testing following the steps in the description.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: c41b58a17820348c3acf7c9f5c92e971b5b95cea.

          When select "Add Page", nothing happens and there is an error in the js browser console.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 3599355a639b06014c1970aedf1b15dd2c05f2e2.
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 78089d81de9c768827f36584c17a3044d3c9c8d7.

          When select "Add Page", it will allow modifications. There is no errors.

          Show
          Yang Gao (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: c41b58a17820348c3acf7c9f5c92e971b5b95cea. When select "Add Page", nothing happens and there is an error in the js browser console. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 3599355a639b06014c1970aedf1b15dd2c05f2e2. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 78089d81de9c768827f36584c17a3044d3c9c8d7. When select "Add Page", it will allow modifications. There is no errors.

            People

            • Assignee:
              Yang Gao (Inactive)
              Reporter:
              Victor Miranda (Inactive)
              Recent user:
              Randy Zhu
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 22 weeks, 3 days ago

                Development

                  Structure Helper Panel