Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-54580

Erroneous user can cause Site Import to fail without error

XMLWordPrintable

      A managed transaction is causing the site import can fail (at around 94%) due to a bad user, even though the error may be recoverable.

      As the site import is completing, the post import stack begins to run. The UserPostImportTask is attempting to set properties on users to be added to the system. If a erroneous user exists in the import, this process can throw a NullPointerException (which will cause the transaction to be set to rollback only), and the import in process to fail.

      It appears the code in UserPostImportTask.createUserPersonalInformation does not expect the transaction to roll back, as the exception is swallowed and waned to the logs.

      In this case we should modify DefaultPersonalInformationManager to not cause the NPE, rather than configure the transactionInterceptor to not abort on this exception.

              Unassigned Unassigned
              igerges Issac Gerges (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: