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
    • Similar Issues:
      Show 4 results 

      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.

        Activity

        Hide
        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 added a comment - This issue doesn't affect 6.1.20 EE GA2. Removing it from the affect version. Thanks.
        Hide
        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 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 added a comment -

        Hi Vincent,

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

        Sophia

        Show
        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 added a comment -

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

        Show
        Tammy Fong added a comment - Committed on: Portal 6.2.x GIT ID: fdecf0bbed76d2fe4d5ad100563b154a0fa4fa0e.
        Hide
        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 (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 added a comment -

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

        Show
        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:
              2 years, 24 weeks, 2 days ago

              Development

                Structure Helper Panel