Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-31188

Default layout is not created when setting layout.user.private.layouts.auto.create=true

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed

      Description

      Let's suppose user A is a member of a user group and the group has private pages itself.

      If we set layout.user.private.layouts.auto.create=true, the default Welcome page should be created as well as the group pages.
      If we set layout.user.private.layouts.auto.create=false, the default page is not created but we can still view the inherited group pages.

      While the behavior in trunk is: the user's default layout(Welcome page) will not be created if he has inherited pages from user group, irrespective of the value of layout.user.private.layouts.auto.create.

        Issue Links

          Activity

          Hide
          sophia.zhang Sophia Zhang added a comment -

          This issue doesn't affect 6.1.20 EE GA2. Removing it from the affect version. Thanks.

          Show
          sophia.zhang Sophia Zhang added a comment - This issue doesn't affect 6.1.20 EE GA2. Removing it from the affect version. Thanks.
          Hide
          vincent.liu Vincent Liu added a comment -

          The issue should affect 6.1 GA2. Once issue reported in LPS-28436 fixed then the issue will occur in 6.1 GA2. We need to re-add the affects version. Thanks.

          Show
          vincent.liu Vincent Liu added a comment - The issue should affect 6.1 GA2. Once issue reported in LPS-28436 fixed then the issue will occur in 6.1 GA2. We need to re-add the affects version. Thanks.
          Hide
          sophia.zhang Sophia Zhang added a comment -

          Hi Vincent,

          After your comment, I added 6.1.20 EE GA2 as affect version. Thanks.

          Sophia

          Show
          sophia.zhang Sophia Zhang added a comment - Hi Vincent, After your comment, I added 6.1.20 EE GA2 as affect version. Thanks. Sophia
          Hide
          tammy.fong Tammy Fong (Inactive) added a comment -

          Committed on:
          Portal 6.2.x GIT ID: fdecf0bbed76d2fe4d5ad100563b154a0fa4fa0e.

          Show
          tammy.fong Tammy Fong (Inactive) added a comment - Committed on: Portal 6.2.x GIT ID: fdecf0bbed76d2fe4d5ad100563b154a0fa4fa0e.
          Hide
          luyang.tan Luyang Tan (Inactive) added a comment -

          PASSED Manual Testing using the following steps:

          1. Add layout.user.private.layouts.auto.create=true(false) to portal.ext.properties.
          2. Startup liferay, add a group with the private page.
          3. Create a user, make the user belong to the group.
          4. Sign in with the user, go to the private page.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 896ad0e9a6f1b1c5dfc7b2948e4757251b791d3e.

          Even set layout.user.private.layouts.auto.create=true, the user's default layout(Welcome page) will not be created.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: b34c38b784fc2329bef299720a5d8ab0b4a8b16c.
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 118b56190004930bedd6d5787d9006a51ee7030e.

          If set layout.user.private.layouts.auto.create=true, the user's default layout(Welcome page) will not be created.
          If set layout.user.private.layouts.auto.create=false, the default page is not created but I can still view the inherited group pages.

          Show
          luyang.tan Luyang Tan (Inactive) added a comment - PASSED Manual Testing using the following steps: 1. Add layout.user.private.layouts.auto.create=true(false) to portal.ext.properties. 2. Startup liferay, add a group with the private page. 3. Create a user, make the user belong to the group. 4. Sign in with the user, go to the private page. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 896ad0e9a6f1b1c5dfc7b2948e4757251b791d3e. Even set layout.user.private.layouts.auto.create=true, the user's default layout(Welcome page) will not be created. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: b34c38b784fc2329bef299720a5d8ab0b4a8b16c. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 118b56190004930bedd6d5787d9006a51ee7030e. If set layout.user.private.layouts.auto.create=true, the user's default layout(Welcome page) will not be created. If set layout.user.private.layouts.auto.create=false, the default page is not created but I can still view the inherited group pages.
          Hide
          sophia.zhang Sophia Zhang added a comment -

          Thank you Phoebe for testing. Closing as "Fixed".

          Show
          sophia.zhang Sophia Zhang added a comment - Thank you Phoebe for testing. Closing as "Fixed".

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 51 weeks, 4 days ago

                Development

                  Subcomponents