Hello,
We implemented a custom type in our module by inheriting from CSNODE::Attributes. The CSNODE::Attributes is introduced in CS 16 June update (16.0.1). Everything works fine if we install the module on a CS 16 with latest update. However, if we install the module on a CS 16 released version without any patch, the server crashes and the service can’t be restarted anymore.
Here is our sample code:
public object SPPropertiesAttribute inherits CSNODE::Attributes::#'String'#
override Boolean enabled = TRUE
override Integer type = 15015
end
The error says “Failed to find parent for SPPropertiesCat::SPPropertiesAttribute, unable to resolve overriden feature enabled…”. I can understand that it is caused by missing the parent object CSNODE::Attributes, but I can’t find a solution for that.
We tried to create a dependency to the 16.0.1 patch for our module, so our module can only be installed if the CS has be patched. For example, we added the following lines to module's ini file:
[dependencies]
requires_1={'kernel',16,0,1}
But, it doesn’t work at all, seems that the CS module installation process only checks the first two version numbers, the 3rd patch number is ignored.
We will definitely document this module dependency in our release notes, but we know some customers do not always read the release notes. Crashing the Content Server is a severe issue, we should avoid this either from our module end or at CS end instead of relying on the documentation.
Any suggestions?