Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
2
-
Description
Data migration from the current database (H2 or an external database) to another external database using the DB migration wizard isn't possible if a third-party plugin that uses the BLOB data type in its table is installed in Bitbucket. This is due to the fact that the Active object framework doesn't support the BLOB data type, thus migration of tables that use BLOB data fails.
If a user tries to perform the migration, the migration fails and returns to the initial screen without displaying an error message on the GUI but an error "c.a.s.i.m.DefaultMaintenanceTaskMonitor MIGRATION maintenance has failed (Cause: NoClassDefFoundError: javax/xml/bind/DatatypeConverter)" is logged in the log file.
Although it was already highlighted in the Developing your plugin with Active Objects article that Atlassian's Active Object framework does not support binary large objects (BLOBs) but this functionality should be included in the Bitbucket for smooth migration of all the data(including the BLOB data) from source database to the target database.