The installation fails at step "Updating database schema" at 40 % with the following error:
Fatal error: Uncaught Error: Class "Licence" not found in /var/www/html/mytestitop/env-production/itop-config-mgmt/model.itop-config-mgmt.php:2165
The datamodel-production.xml looks valid to me. If I take the definition of class Licence from datamodel-production.xml and put in in my extension with _delta="redefine" to redefine the class completely, the error is the same.
Thanks for any help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
It's a very old identified iTop limitation, it is not possible to change the parent class of a class. Whatever method you use, you ends up in trouble.
You need to create a new class under contract mirroring the Licence class attributes...
Regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I tried to change the parent class of licence like this:
The installation fails at step "Updating database schema" at 40 % with the following error:
Fatal error: Uncaught Error: Class "Licence" not found in /var/www/html/mytestitop/env-production/itop-config-mgmt/model.itop-config-mgmt.php:2165
The datamodel-production.xml looks valid to me. If I take the definition of class Licence from datamodel-production.xml and put in in my extension with _delta="redefine" to redefine the class completely, the error is the same.
Thanks for any help.
Hi,
It's a very old identified iTop limitation, it is not possible to change the parent class of a class. Whatever method you use, you ends up in trouble.
You need to create a new class under contract mirroring the Licence class attributes...
Regards