PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-44315

Web content history not working for web contents from Global site being viewed in another site

    Details

    • Branch Version/s:
      6.2.x
    • Backported to Branch:
      Committed
    • Story Points:
      6
    • Fix Priority:
      5
    • Similar Issues:
      Show 5 results 

      Description

      1) Add a new web content c1 on site s1
      2) Create a new site s2
      3) Add a web content display portlet
      4) Configure portlet to show previously created content c1
      5) Edit content and access history
      6) Liferay complains with error message "The selected web content no longer exists."
      7) History for that content can be viewed without issue on s1

        Activity

        Hide
        Brian Wulbern added a comment -

        Hi Sven,

        Thanks for your report! I was able to reproduce this issue using the following steps:

        1. Add a WC article on Global site
        2. Create a new site with a site page
        3. Add a WCD portlet to this page
        4. Configure WCD portlet to display content made me in Global scope
        5. Click to Edit the content > click History

        I reproduced on 6.2.10 EE GA1, our latest 6.2.10 SP4, and on our ee-6.2.x branch at head. I'll update this ticket to reflect that finding. Thanks!

        Show
        Brian Wulbern added a comment - Hi Sven, Thanks for your report! I was able to reproduce this issue using the following steps: Add a WC article on Global site Create a new site with a site page Add a WCD portlet to this page Configure WCD portlet to display content made me in Global scope Click to Edit the content > click History I reproduced on 6.2.10 EE GA1, our latest 6.2.10 SP4, and on our ee-6.2.x branch at head. I'll update this ticket to reflect that finding. Thanks!
        Hide
        Eudaldo Alonso added a comment -

        Just started reviewing :)

        Sent from GH.

        Show
        Eudaldo Alonso added a comment - Just started reviewing :) Sent from GH .
        Hide
        Shitian "Shelton" Zhang added a comment - - edited

        PASSED Manual Testing using the following steps:

        1. Add a WC article on Global site.
        2. Create a new site with a site page.
        3. Add a WCD portlet to this page.
        4. Configure WCD portlet to display content made in Global scope.
        5. Click to Edit the content > click History.

        Reproduced on:
        Tomcat 7.0.42 + MySQL 5.5. Portal master GIT ID: 38fa22f3349d1328306efc44d5ccc05bc1982a32.

        It shows "The selected web content no longer exists."

        Fixed on:
        Tomcat 7.0.42 + MySQL 5.5. Portal master GIT ID: d12a1079067acf1f1bed74a3f575b95f3cc00a6f.

        History for that content can be viewed.

        Show
        Shitian "Shelton" Zhang added a comment - - edited PASSED Manual Testing using the following steps: Add a WC article on Global site. Create a new site with a site page. Add a WCD portlet to this page. Configure WCD portlet to display content made in Global scope. Click to Edit the content > click History. Reproduced on: Tomcat 7.0.42 + MySQL 5.5. Portal master GIT ID: 38fa22f3349d1328306efc44d5ccc05bc1982a32. It shows "The selected web content no longer exists." Fixed on: Tomcat 7.0.42 + MySQL 5.5. Portal master GIT ID: d12a1079067acf1f1bed74a3f575b95f3cc00a6f. History for that content can be viewed.
        Hide
        Shitian "Shelton" Zhang added a comment -

        PASSED Manual Testing using the following steps:

        1. Add a WC article on Global site.
        2. Create a new site with a site page.
        3. Add a WCD portlet to this page.
        4. Configure WCD portlet to display content made in Global scope.
        5. Click to Edit the content > click History.

        Fixed on:
        Tomcat 7.0.42 + MySQL 5.5.34. Portal ee-6.2.x EE GIT ID: 48d3a93336b330a6c4efe7b4dfd371736ebb7c3f.

        History for that content can be viewed.

        Show
        Shitian "Shelton" Zhang added a comment - PASSED Manual Testing using the following steps: Add a WC article on Global site. Create a new site with a site page. Add a WCD portlet to this page. Configure WCD portlet to display content made in Global scope. Click to Edit the content > click History. Fixed on: Tomcat 7.0.42 + MySQL 5.5.34. Portal ee-6.2.x EE GIT ID: 48d3a93336b330a6c4efe7b4dfd371736ebb7c3f. History for that content can be viewed.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              33 weeks, 1 day ago

              Development

                Structure Helper Panel