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

Class Name changes in core code are not reflected in DB during patching

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.0.0 DXP GA1
    • Fix Version/s: None
    • Labels:
      None

      Description

      DESCRIPTION
      Class name changes were made in core code in DE-38, but no changes are made to database entries. This results in lost system settings after updating patch from ~DE-37 to DE-38+.

      e.g. Flags are named `FlagsConfiguration` from GA1-DE37, but named `FlagsGroupServiceConfiguration` in DE38-(current). Creating the setting in GA1-DE37 will place it as under `FlagsConfiguration`, but post-patch to DE38+ the portlet will be searching for `FlagsGroupServiceConfiguration`

      STEPS TO REPRODUCE

      1. Set up system using GA1 - DE37
      2. Delete osgi/state
      3. Go to Control Panel > Configuration > System settings > Other > Flags Service
      4. Add a Reason: click "+" next to any reason, type "test-reason", click "update"
      5. Add Page Flags portlet to page
        *Click "Flag This Page", confirm that "test-reason" appears under "Reason for the Report" drop-down menu
      6. Stop server
      7. run patching tool to DE38+
      8. delete osgi/state
      9. restart server
      10. Check for "test-reason" and RSS feeds

      EXPECTED RESULTS
      "test-reason" and RSS feed settings persist after update
      ACTUAL RESULTS
      RSS feed and flags settings have been reset

      71x
      Issue does not occur in 71x
      MASTER
      Issue does not occur in master

        Attachments

          Activity

            People

            • Assignee:
              alfred.sampang Alfred Sampang
              Reporter:
              alfred.sampang Alfred Sampang
              Participants of an Issue:
              Recent user:
              Alfred Sampang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                49 weeks, 4 days ago

                Packages

                Version Package