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

Post-Upgrade Activities portlet doesn't show (wiki,message.blog,bookmark,calendar) links

    Details

      Description

      The issue only occured in upgrading from 6.1 to 6.2.

      Steps to reproduce
      1. Start 6.1.10
      2. Add Activities Portlet to page.
      3. Create wiki,message.blog,bookmark,calendar content.

      Note that these entries appear on the Activites Portlet.

      4. Upgrade to 6.2.10

      There is no link to the these asset entrys. Please refer to the screenshot link.jpg and no_link.jpg

      Root Cause
      Most of the activities in 6.1.10 were added without "extraData" field.
      6.2 uses the "extraData" field to create the link. All activities created by 6.2 add some data to "extraField"
      Solution
      Check all activities. If the "extraData" field is empty, re-generate it field by fetching the Entity which the activity points to via <classNameId, classPK> and replicating the logic used by 6.2 to create the field value for that entity kind.
      "all activities" = activities that 6.1 could have created. Don't include activities that only 6.2 can create!

        Attachments

        1. link.jpg
          link.jpg
          262 kB
        2. no_link.jpg
          no_link.jpg
          274 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 28 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 CE RC1
                  7.0.0 DXP FP3