I just tried to import all my custom packages & resources to a fresh OOTB deployment to test how my jobs & scripts from 10.11 CP15 would work with 10.22 CP20
Deploying of said packages fails, as the classmodel in my 10.22 env is not like it is in my 10.11 production environment (missing columns, links etc). For reasons unknown, I cannot import the model from 10.11 to 10.22:
Caused by: [ERROR CODE- 0] appilog.common.system.types.packaging.PackageException: Failed to install resource :
Caused by: java.lang.ClassCastException: com.hp.ucmdb.classmodel.binding.classes.XmlClassModel cannot be cast to com.hp.ucmdb.classmodel.binding.classes.XmlClass
I have reported this to HP support, but sometimes I get a more accurate answer from this forum.
Also, how can the classmodel be maintained if each upgrade makes changes to the classmodel? What I mean is - if I import a classmodel from 10.11 to a considerably newer 10.22, then wouldn't it overwrite some changes that come with 10.22?
Thanks in advance.