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

Global structure and templates are able to be deleted despite community/organization using the global structure and template



      Replicated in 6.0.10, 6.0.11, 6.0.12, 6.0.x (Rev. 97203) and Trunk (Rev. 97203)

      Steps to Reproduce:
      1. sign in as test@liferay.com
      2. Navigate to Control Panel
      3. Set the scope to "Global"
      4. Create a structure and template in the "Global" scope
      5. Navigate to the guest community scope "liferay.com"
      6. Create a web content article using the Global structure and template
      7. Navigate back to the Global structure and template and delete them
      8. User will be able to delete the structure and template

      If a customer attempts to upgrade, will have a No JournalStructure exception which will stop the upgrade.
      9. Shut down the server
      10. Enable the portal-ext.properties property: "verify.frequency=-1"
      11. Restart the server and there will be an unexpected startup error

      NOTE: "verify.frequency=-1" works if global structure and template aren't deleted and a community web content uses the structure and template

      If disabling the "verify.frequency=-1" property:
      12. The server will start up with no exceptions
      13. Add another structure and template in the "Global" scope
      14. Add a web content article in the "Global" scope
      15. When trying to delete the structure and template, user will be unable to
      16. Follow steps 13-15 for community scope, will be unable to delete structures and templates


          Issue Links



              pani.gui Pani Gui (Inactive)
              jenny.chen Jenny Chen
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              0 Vote for this issue
              1 Start watching this issue


                Days since last comment:
                9 years, 30 weeks, 2 days ago


                  Version Package
                  6.0.X EE
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  6.2.0 CE M2