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

Upgrade to 7.0x: UpgradeSocial is executed even when Social Office was installed previously

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 7.0.0 DXP FP28, 7.0.X EE, Master
    • Fix Version/s: None
    • Labels:
      None

      Description

      Steps to reproduce it:

      1. Startup a 6.2 version
      2. Install Social Office
      3. Generate some socialActivity entries (check SocialActivity table): creating a blog and posting comments should be enough
      4. Stop the server
      5. Execute the following query:
        SELECT count(*) FROM SocialActivitySet
        
      6. Upgrade to 7
      7. Execute the following query:
        SELECT count(*) FROM SocialActivitySet
        

      Results:
      The number of SocialActivitySet is higher.

      The code for v7_0_0/UpgradeSocial.java has been fully executed and it has created new records in that table but this is unnecessary because if you used Social Office that table was already populated.

      Expected results:
      The number of SocialActivitySet is the same.

      The code for v7_0_0/UpgradeSocial.java hasn't been executed because the code detected that you were using Social Office previously.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alberto.chaparro Alberto Chaparro
              Reporter:
              alberto.chaparro Alberto Chaparro
              Participants of an Issue:
              Recent user:
              Rubén Heras
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 16 weeks, 3 days ago

                  Packages

                  Version Package