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

6.2.x - At webcontent structure, the documents and media selector always shows staging site even if staging is not activated for document library

    Details

      Description

      At webcontent structure, the documents and media selector always shows staging site even if staging is not activated for document library:

      Steps to Reproduce

      1. Create a new site
      2. Activate staging, but only for "web content" portlet, leave the document library without staging
      3. Add a document called "test_document" inside document library, at that site
      4. Create a new structure with "documents and media link", see attached xml
      5. Create a new webcontent with that new structure
      6. At "documents and media" component click "Choose from Document Library". The "document_selector" window will appear:
        Incorrect behaviour: no document will be shown at selector
        Expected behaviour: the "test_document" document should be shown

      There is also other incorrect behaviour, you can upload a document from the "document_selector" window.
      If you upload a document with staging activated only for web content, and after that you execute the select * from dlfileentry you will see that the document is uploaded for the invisible "staging site" of document library (that is not activated)

        Attachments

        1. fixed.png
          fixed.png
          23 kB
        2. reproduced.png
          reproduced.png
          14 kB

          Issue Links

            Activity

              People

              Assignee:
              hong.zhao Hong Zhao (Inactive)
              Reporter:
              jorge.diaz Jorge Diaz
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 25 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.3 CE GA4
                  6.2.X EE