Add user-mapping checks to CCMA preflight checks

XMLWordPrintable

    • 9

      Issue Summary

      CCMA prechecks do not report user mapping issues.

      Steps to Reproduce

      1. Create a migration through the server CCMA plugin
      2. Run pre-checks
      3. Start migration

      Expected Results

      Warning if there is a missing user in the user_mapping

      Actual Results

      The below exception is thrown in the UI:

      Import to cloud failed. Message: ERROR: insert or update on table "label" violates foreign key constraint
      "fk_label_owner" Detail: Key (owner)=(*******************************) is not present in table "user_mapping".

      during the migration when there is not a user present.  This is not caught by the pre-flight checks.

      Workaround

      After a migration is attempted and failed, the error gives the information needed to update the tables.

      Update the owner property of the space entry.

      update SPACES set CREATOR='*******************************' where SPACEKEY='[*]';

      Then remigrate the space.

              Assignee:
              Sibaprasad Behera (Inactive)
              Reporter:
              Ted Metzroth (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: