Hi,
I try to setup a test-system for iTop version 2.7.7 and did a clean install with demo-database.
Next I tried to add the extension "combodo-approval-process-automation" but already in the toolkit I get this error:
An error occured while processing the PHP files of the data model:
Error loading module "itop-approval-portal": /itop_design/classes/class[ApprovalScheme] at line 4: could not be found - Loaded modules: dictionaries:1.0, core:1.0, application:1.0, authent-cas:2.7.7, authent-external:2.7.7, authent-ldap:2.7.7, authent-local:2.7.7, combodo-db-tools:2.7.7, itop-attachments:2.7.7, itop-backup:2.7.7, itop-config-mgmt:2.7.7, itop-config:2.7.7, itop-datacenter-mgmt:2.7.7, itop-endusers-devices:2.7.7, itop-files-information:2.7.7, itop-hub-connector:2.7.7, itop-portal-base:2.7.7, itop-portal:2.7.7, itop-profiles-itil:2.7.7, itop-sla-computation:2.7.7, itop-storage-mgmt:2.7.7, itop-tickets:2.7.7, itop-virtualization-mgmt:2.7.7, itop-welcome-itil:2.7.7, itop-bridge-virtualization-storage:2.7.7, itop-change-mgmt-itil:2.7.7, itop-core-update:2.7.7, itop-incident-mgmt-itil:2.7.7, itop-knownerror-mgmt:2.7.7, itop-oauth-client:2.7.7, itop-problem-mgmt:2.7.7, itop-request-mgmt-itil:2.7.7, itop-service-mgmt-provider:2.7.7, itop-full-itil:2.7.7, itop-approval-portal:1.0.7
Check the PHP files describing the data model before running the toolkit again !
I checked the extension files and can see that class ApprovalScheme is define in module approval base. In module itop-approval-portal it should get modified. In module definition of itop-approval-portal approval-base is defined as dependency. So everything looks right.
What is going wrong here?
Thanks,
best regards,
Nico
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hmm, I have not yet ran the setup. I just did it and it installed without error, even with the approval extension.
After that the toolkit did not throw that error.
So to reproduce it I deleted the extension from the extension folder and run setup again.
After that i copied the extension again to the folder and got the same error in "Data Model Consistency"-Check.
So it seems on the setup there is no error and after installation even no error in the toolkit. But on a fresh installation before installing the extension the toolkit will throw that error.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Thanks for the feedback and the investigation !
I've just tried on my support/2.7 branch clone and wasn't able to reproduce :(
There must but something else to do ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I try to setup a test-system for iTop version 2.7.7 and did a clean install with demo-database.
Next I tried to add the extension "combodo-approval-process-automation" but already in the toolkit I get this error:
I checked the extension files and can see that class ApprovalScheme is define in module approval base. In module itop-approval-portal it should get modified. In module definition of itop-approval-portal approval-base is defined as dependency. So everything looks right.
What is going wrong here?
Thanks,
best regards,
Nico
Hello,
What extension version did you try to deploy ?
You should use the iTop Hub instead of deploying manually...
Hi Pierre,
it is extension "Approval process automation" - version 2.1.1: https://store.itophub.io/en_US/products/combodo-approval-process-automation
I just got the same error even on iTop version 2.7.4.
Ok !
The approval-base dependency is set since a long time in the itop-approval-portal description file
The error must be caused by something else...
Do you have anything else in your log/setup.log ?
Hmm, I have not yet ran the setup. I just did it and it installed without error, even with the approval extension.
After that the toolkit did not throw that error.
So to reproduce it I deleted the extension from the extension folder and run setup again.
After that i copied the extension again to the folder and got the same error in "Data Model Consistency"-Check.
So it seems on the setup there is no error and after installation even no error in the toolkit. But on a fresh installation before installing the extension the toolkit will throw that error.
Hello,
Thanks for the feedback and the investigation !
I've just tried on my support/2.7 branch clone and wasn't able to reproduce :(
There must but something else to do ?