Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.0.11 EE, 6.1.0 CE RC1
    • Fix Version/s: 6.0.12 EE, 6.1.0 CE RC1
    • Labels:
    • Environment:
      Tomcat 7.0.10 + MySQL 5.1.56. Firefox 3.6.16. 5.2.x Revision 76900.
      Tomcat 7.0.10 + MySQL 5.1.56. Firefox 3.6.16. 6.0.x Revision 76900.
      Tomcat 7.0.10 + MySQL 5.1.56. Firefox 3.6.16. 6.1.x Revision 76900.
    • Branch Version/s:
      6.0.x
    • Backported to Branch:
      Committed
    • Liferay Contributor's Agreement:
      Accept
    • Similar Issues:
      Show 4 results 

      Description

      Steps to reproduce:

      1) Add Asset Publisher, and Blogs in the same page.
      2) Make sure "Show Full Content In " is set to "This Page" in Asset Publisher configuration, so that asset can be shown both in the specific portlet and Asset Publisher.
      3) Add a Blogs entry
      4) Click the Blogs entry in Asset Publisher, the Asset Publisher is now display the Blogs entry.
      5) Delete the Blogs entry in the Blogs portlet.
      The Asset Publisher is now broken, in 5.2.x Tomcat console show error message like this:

      16:32:22,694 ERROR [view_content_jsp:1036] No BlogsEntry exists with the key

      {groupId=10140, ulrTitle=test}

      In 6.1.x and 6.0.x, see attachment.

      1. 6.1.x and 6.0.x stacktrace.txt
        22 kB
        Ryan Wan
      2. LPS-16254-build-78293.diff
        3 kB
        Tomáš Polešovský
      1. asset publisher.png
        28 kB
      2. LPS-16254-build-78293.diff.png
        187 kB

        Issue Links

          Activity

          Hide
          Ryan Wan added a comment - - edited

          Also can be reproduce by using Document Library Document, Image Gallery Image, Calendar Event, and Bookmarks Entry.

          Show
          Ryan Wan added a comment - - edited Also can be reproduce by using Document Library Document, Image Gallery Image, Calendar Event, and Bookmarks Entry.
          Hide
          Tomáš Polešovský added a comment -

          This issue is currently being addressed in Sprint 4 of the 100 PaperCuts program. Please see http://liferay.com/community/100-papercuts

          Show
          Tomáš Polešovský added a comment - This issue is currently being addressed in Sprint 4 of the 100 PaperCuts program. Please see http://liferay.com/community/100-papercuts
          Hide
          Tomáš Polešovský added a comment -

          Patch for portal-web/docroot/html/portlet/asset_publisher/view_content.jsp.

          I've fixed it the way portal-web/docroot/html/portlet/asset_publisher/view_manual.jsp handles it.

          This means - if there is NoSuchModelException then display list of entries (not detail).

          Show
          Tomáš Polešovský added a comment - Patch for portal-web/docroot/html/portlet/asset_publisher/view_content.jsp. I've fixed it the way portal-web/docroot/html/portlet/asset_publisher/view_manual.jsp handles it. This means - if there is NoSuchModelException then display list of entries (not detail).
          Hide
          Tomáš Polešovský added a comment -

          Attached screenshots for the patch.

          Show
          Tomáš Polešovský added a comment - Attached screenshots for the patch.
          Hide
          Ryan Wan added a comment -

          PASSED Manual Testing following steps in description.

          Fixed on:
          Tomcat 7.0.16 + MySQL 5.1.56. 6.0.x Revision 85010.
          Tomcat 7.0.16 + MySQL 5.1.56. 6.1.x Revision 85010.

          Show
          Ryan Wan added a comment - PASSED Manual Testing following steps in description. Fixed on: Tomcat 7.0.16 + MySQL 5.1.56. 6.0.x Revision 85010. Tomcat 7.0.16 + MySQL 5.1.56. 6.1.x Revision 85010.
          Hide
          Vicki Tsang (Inactive) added a comment -

          This is being bulk closed in preparation for the new workflow.

          Show
          Vicki Tsang (Inactive) added a comment - This is being bulk closed in preparation for the new workflow.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 42 weeks, 5 days ago

                Development

                  Structure Helper Panel