Details

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

      Description

      Reproduced in 6.1.x and Trunk rev. 120373
      May be similar to LPS-26327

      Steps to reproduce:
      1. Create a site abc.com. Create some web content, with associated structures and templates.
      2. Create a custom Site role. From the Role list, select the custom role and define permissions for web content, structure, template etc.
      3. Create a user and assign the custom role. Assign the user to the site to become a site member.
      4. Login with the new user and go to the site. In any page of the site (which contain web content display), click on edit web content link.
      5. In the edit web content window, click on "Change Structure" icon to select a different structure.
      6. In the list of structure, duplicate entries are found.

        Issue Links

          Activity

          Hide
          Michael Saechang added a comment -

          Committed on:
          Portal 6.2.x GIT ID: 744d300eb55efbe6d83e3e6c3152ee559e6b9592.

          Show
          Michael Saechang added a comment - Committed on: Portal 6.2.x GIT ID: 744d300eb55efbe6d83e3e6c3152ee559e6b9592.
          Hide
          Luyang Tan (Inactive) added a comment -

          PASSED Manual Testing following the steps in the description.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.

          In the list of structure, duplicate entries are found.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: e8f7b4dfab81e704c1e87d66842cacc43954e731.
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: cbf85cbae56b1341a550f6e5f0d9f44b82c538ea.

          In the list of structure, the entries are not duplicate.

          Show
          Luyang Tan (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. In the list of structure, duplicate entries are found. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: e8f7b4dfab81e704c1e87d66842cacc43954e731. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: cbf85cbae56b1341a550f6e5f0d9f44b82c538ea. In the list of structure, the entries are not duplicate.
          Hide
          Luyang Tan (Inactive) added a comment -

          PASSED Manual Testing following the steps in the description.

          Fixed on:
          Tomcat 6.0 + MySQL 5. Portal 6.0.x GIT ID: 1f1fcca18075c7f7493ae3cfa549145c680eb71c.

          In the list of structure, the entries are not duplicate.

          Show
          Luyang Tan (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 6.0 + MySQL 5. Portal 6.0.x GIT ID: 1f1fcca18075c7f7493ae3cfa549145c680eb71c. In the list of structure, the entries are not duplicate.
          Hide
          Michael Saechang added a comment -

          Thank you Luyang for testing. Closing as 'Fixed'.

          Show
          Michael Saechang added a comment - Thank you Luyang for testing. Closing as 'Fixed'.
          Hide
          Riccardo Martini added a comment -

          Hi Micheal,
          the problem is now present in 6.2.1.
          findByC_G_C_N_D_S_T in dynamicdatamapping.xml doesn't use the DISTINCT clause so the check of permissions generates more rows for every user role.

          The problem is the use of InlineSQLHelper .

          Issue must be reopened.

          Show
          Riccardo Martini added a comment - Hi Micheal, the problem is now present in 6.2.1. findByC_G_C_N_D_S_T in dynamicdatamapping.xml doesn't use the DISTINCT clause so the check of permissions generates more rows for every user role. The problem is the use of InlineSQLHelper . Issue must be reopened.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                46 weeks ago

                Development

                  Structure Helper Panel