Details
-
Bug
-
Resolution: Fixed
-
Low
-
None
-
None
-
1
-
Severity 3 - Minor
Description
Issue Summary
When running Confluence Cloud Migration Assistant after upgrade, an exception will be thrown when running a migration.
Steps to Reproduce
- Install a version of Confluence Cloud Migration Assistant lower than 3.2.5
- Prepare a plan with Users and Groups
- Upgrade Confluence Cloud Migration Assistant to version 3.2.5
- Run a migration
Expected Results
The migration succeeds and no errors are thrown in the logs.
Actual Results
The below exception is thrown in the atlassian-confluence.log file:
org.hibernate.PropertyAccessException: Null value was assigned to a property [class com.atlassian.migration.agent.entity.MigrateUsersTask.scoped] of primitive type setter of com.atlassian.migration.agent.entity.MigrateUsersTask.scoped 2[INFO] [talledLocalContainer] at ... com.atlassian.migration.agent.service.impl.DefaultPlanService.getMigrateAppsTask(DefaultPlanService.java:100) 32[INFO] [talledLocalContainer] at com.atlassian.migration.agent.service.catalogue.PlatformService.getProgress(PlatformService.java:181)
Workaround
Update the database to provide a default value for the scoped value for Migrate Users task with
update mig_task set scoped = true where tasktype = 'USERS' AND scoped is null;
If you're on Oracle try (capitalisation may be required for table and column name
update mig_task set scoped = 1 where tasktype = 'USERS' AND scoped is null;
Attachments
Issue Links
- is resolved by
-
JMAS-129 Loading...