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

Web content that references a document in a folder can't be published to live in local staging


    • Type: Bug
    • Status: Closed
    • Resolution: Inactive
    • Affects Version/s: 6.1.30 EE GA3
    • Fix Version/s: None
    • Component/s: Documents & Media, Staging
    • Labels:
    • Environment:
      Tomcat 7 + MySQL 5. Portal 6.1.x GIT ID: 2913e2dcbe8481c52ea981085164f40ec9c0d564.
    • Fix Priority:


      Here are the steps to reproduce the bug:

      1. Start with a clean Liferay installation with default config
      2. Create a new blank site
      3. Add a page with default settings to the new site
      4. In Control Panel, go to new site's Documents and Media screen and add a new folder
      5. Add a new document of type Contract inside the new folder. In my case the uploaded file was a Word document.
      6. Go to the new site page and add a Web Content Display portlet to the page
      7. Add a new web content by clicking the icon in the wcd portlet. Put some text in it and publish.
      8. Edit the article you just created and in the article content, create a link to the document you added earlier. Publish the changes.
      9. Go to the site's settings and activate local staging with defaults
      10. Make a modification to the article (don't remove the link to the doc).
      11. Try to publish to live so that in the publish form, select the current page and uncheck the following: bookmarks, calendar, mobile device rules, theme, logo.
      13. When you click publish, you get the Manage Pages Temporarily unavailable message and a stacktrace in the log (see attachment)

      I've debugged this a little bit, and it seems that the problematic code is in DLFileEntryPermission.java where on line 75 StagingPermissionUtil.hasPermission() is called.




            michael.saechang Michael Saechang
            anttoxik Antto Sierla (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            0 Vote for this issue
            1 Start watching this issue


              Days since last comment:
              5 years, 10 weeks, 2 days ago


                Version Package