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

Communities lost (deleted) after upgrade 5.1.1 to 6.0.6.

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 6.0.6 GA
    • Fix Version/s: None
    • Labels:
    • Environment:
      Linux/Unix. Oracle 10.x. Java 1.5
      Upgrade Liferay Portal Community Edition 5.1.1 to Liferay Portal Community Edition 6.0.6

      Description

      http://www.liferay.com/community/forums/-/message_boards/message/10435787

      Update LF 5.1.1 to 6.0.6.
      In LF 5.1.1, communities have the fields "CLASSNAMEID = 0" and "CLASSPK = 0" in table "GROUP_"

      Automatic upgrade check duplicate records (UpgradeDuplicates.java) comparing the values ​​of CLASSNAMEID and CLASSPK and not check the primary key (GROUPID).
      All communities have these two fields the same value (0), so delete all communities.

      duplicate = true;
      ....
      if (! columnValue.equals (previousColumnValue)) {
      duplicate = false;
      }

      ...
      if (duplicate) {
      RunSQL (
      "delete from" + tableName + "where" +
      primaryKeyName + "=" + primaryKeyValue);

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pani.gui Pani Gui (Inactive)
              Reporter:
              solomr Solo (Inactive)
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                10 years, 42 weeks, 4 days ago

                  Packages

                  Version Package