But I got this :
Error loading module "Serveur-LAMP": could not find parent node for class(id:Serveur-lamp) with parent id SoftwareInstance - Loaded modules: Serveur-LAMP
Did I forget Something
PS : This Class is only for test, I would Add New fields
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I ran into something similar awhile back. As I recall, I was missing a dependency in the module.<your-extension-name>.php file located in $itop_home/extensions/<your-extension-name> directory.</your-extension-name></your-extension-name>
When I first created my extension, I was only changing classes found in itop-config-mgmt/2.0.0. When I tried modifying a class from itop-service-mgmt/2.0.0, as I recall, I received the error you are seeing.
The fix for me was to add that to the dependencies section of the module file:
This class was added successfully, now I need to create a subclass of this abstact class I did. I tried to add it as a dependence to the module the way you described but my extension is not located at
$itop_home/extensions/
and
$itop_home/env-toolkit/
and
$itop_home/env-production/
It tells me it doesn't exist.
Any help?
THANKS
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I could not add a new Class for Software Instance.
I need to add LAMP Class :
<profiles>
</profiles>
But I got this :
Error loading module "Serveur-LAMP": could not find parent node for class(id:Serveur-lamp) with parent id SoftwareInstance - Loaded modules: Serveur-LAMP
Did I forget Something
PS : This Class is only for test, I would Add New fields
Thanks.
Khalil,
I ran into something similar awhile back. As I recall, I was missing a dependency in the module.<your-extension-name>.php file located in $itop_home/extensions/<your-extension-name> directory.</your-extension-name></your-extension-name>
When I first created my extension, I was only changing classes found in itop-config-mgmt/2.0.0. When I tried modifying a class from itop-service-mgmt/2.0.0, as I recall, I received the error you are seeing.
The fix for me was to add that to the dependencies section of the module file:
Hope that helps you out.
Gene
I Will Test This
Thank you
I'm having a similar problem, but in mu case the parent is a class I just made. I added a new class to the datamodel using the procedure in this wiki:
https://wiki.openitop.org/doku.php?id=2_1_0:customization:add-class-sample
This class was added successfully, now I need to create a subclass of this abstact class I did. I tried to add it as a dependence to the module the way you described but my extension is not located at
$itop_home/extensions/
and
$itop_home/env-toolkit/
and
$itop_home/env-production/
It tells me it doesn't exist.
Any help?
THANKS