Package import fails with 'Incompatibility detected: attempt to delete property..' error
Modified on: Fri, 17 Nov 2023 12:31 PMOriginal Publishing Date:
2020-01-22
2020-01-22
Symptoms
New version of a package cannot be imported, task fails with error:
Internal error: void Plesk::SaaS::ImportPackage(TObjectID) : [APSC]
Incompatibility detected: attempt to delete property `interface_enabled` in
bounds of same type..
or
Internal error: TObjectID Plesk::SaaS::ImportPackage(TObjectID) : [APSC] Type compatibility violation detected: property `contextid` is changed by inadmissible way..
Cause
A property was removed (first example) or changed (second example) from service without bumping up the type version.
Resolution
After major changes in schema it is needed to bump up a version of a resource:
- when a property is added minor version should be increased,
- when a property is removed major version should be increased.
Check the APS Type ID page in documentation for details.