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

Unable to determine the group ID for the class name com.liferay.knowledgebase.model.KBArticle

    Details

      Description

      Description

      Issue first mentioned here:
      https://liferay.slack.com/archives/CUQP9C673/p1622755038085100

      When upgrading from 6.2 to 7.0+, the upgrade is unable to determine the groupId for Knowledge Base article subscriptions. This issue is nearly identical to LPS-128867.

      Steps To Reproduce

      1. Start up 6.2 bundle and deploy Knowledge Base portlet to it.
      2. Navigate to Site Administration > Content > Knowledge Base and create a KB article.
      3. In the list of KB articles, click on the "Subscribe" button.
      4. Shutdown bundle and perform upgrade.

      Notes
      You can skip Steps 1 through 3 by using the attached MySQL dump: pre-upgrade-6.2.x.sql.

      Actual Behavior:
      The upgrade contains the following warning:

      2021-06-11 21:32:02.081 WARN  [main][UpgradeSubscription:108] Unable to determine the group ID for the class name com.liferay.knowledgebase.model.KBArticle
      

      Expected Behavior:
      The upgrade completes without any warnings.

      Testing

      Reproduced on:

      • master (c7cba8afd61e71c0)
      • 7.3.x (f94ec738a5d643bc)
      • 7.2.x (a9758f863ee7500a)
      • 7.1.x (6358b472e1c7c383)
      • 7.0.x (54767e423521d2cc)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              summer.zhang Summer Zhang
              Reporter:
              kevin.lee Kevin Lee
              Participants of an Issue:
              Recent user:
              Rafaela Nascimento
              Engineering Assignee:
              Kevin Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.3.X
                  7.4.2 CE GA3 DXP 7,4
                  Master