Difference between revisions of "HowTo:Transfer Data from UBIK 3 to UBIK 4"
Line 35: | Line 35: | ||
* Some old meta classes have been transferred, but we can just delete them: | * Some old meta classes have been transferred, but we can just delete them: | ||
** System.Main.SYSTEMSETTINGS | ** System.Main.SYSTEMSETTINGS | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Make sure all languages are configured == | == Make sure all languages are configured == | ||
Line 61: | Line 52: | ||
* Remove all language objects you don't need and make sure the details (index, primary language) are set correctly. | * Remove all language objects you don't need and make sure the details (index, primary language) are set correctly. | ||
=> Now, all translations should be displayed correctly; please check. | => Now, all translations should be displayed correctly; please check. | ||
+ | |||
+ | == Optional: Maintain customizing == | ||
+ | |||
+ | In case your customizing doesn't compile even after removing the obsolete meta classes, this might help. | ||
+ | |||
+ | * Copy your custom code library from your old DB to the new one. | ||
+ | |||
+ | Also, some method signatures have changed, so we have to adapt custom code if these methods are used: | ||
+ | |||
+ | * For most View related methods, the parameter "bool sorted" does not exist anymore; it can be removed. | ||
+ | * The method View.Children now doesn't have the parameters "bool sorted" and "bool fullBranchSync" anymore; they can be removed. | ||
+ | * There is a new method View.ChildrenForBranchSync with the same parameters as View.Children (equivalent to having the "fullBranchSync" parameter on true). If you customized View.Children, this one should be customized as well. | ||
+ | * The UBIKClassList does not derive from List anymore. If you're using it as List in your custom code, you have to adapt this, using UBIKClassList instead. | ||
+ | |||
+ | If you're stuck, please ask a developer. | ||
== Optional: Maintain system object customizing == | == Optional: Maintain system object customizing == |
Revision as of 16:44, 15 February 2023
With UBIK® Server version 4.0, much has changed on database level. We had to sacrifice direct downward compatibility with respect to older database versions in order to gain new possibilities (see Dynamic Live Mode).
In order to upgrade a UBIK® Environment from version 3.7 to version 4.0, it is necessary to create a new database and to transfer the data from the old database to the new one. Here's how.