Hi all!
I'm trying to put a N-N relation between a newly created object which I call "Server_function" (for example dns, web, time-server…) and two server's type (the basic "Server" instance and a new one "VirtualServer", all two having Device -> InfrastructureCI as ancestors).
Here is what I wrote in model.itop-config-mgmt.php:
But as soon as I want to see a "Server" Object (or a "VirtualServer" one), I get a white board, and this error in httpd/error_log :
[error] [client X.X.X.X] PHP Notice: Undefined index: server_list in /opt/data/apache2_htdocs/itop/core/metamodel.class.php on line 801, referer: http://Y.Y.Y.Y/itop/pages/UI.php?c%5Bmenu%5D=21
[error] [client X.X.X.X] PHP Fatal error: Call to a member function GetAllowedValues() on a non-object in /opt/data/apache2_htdocs/itop/core/metamodel.class.php on line 1100, referer: http://Y.Y.Y.Y/itop/pages/UI.php?c%5Bmenu%5D=21
What is wrong?
Thank's in advance for your help!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the objects which have an AttributeLinkedSetIndirect, you should not put this AttributeLinkedSetIndirect in the standard_search and list of Init_SetZListItems.
Without it, it's okay.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all!
I'm trying to put a N-N relation between a newly created object which I call "Server_function" (for example dns, web, time-server…) and two server's type (the basic "Server" instance and a new one "VirtualServer", all two having Device -> InfrastructureCI as ancestors).
Here is what I wrote in model.itop-config-mgmt.php:
And in dictionaries :
But as soon as I want to see a "Server" Object (or a "VirtualServer" one), I get a white board, and this error in httpd/error_log :
What is wrong?
Thank's in advance for your help!
OK, I found why.
In the objects which have an AttributeLinkedSetIndirect, you should not put this AttributeLinkedSetIndirect in the standard_search and list of Init_SetZListItems.
Without it, it's okay.