I am trying to show the specific Functional CI a user has and for admins they are shown every CI in the and contact in the platform. Here is my extension:
When I tried entering the snippet below it gives an error saying: Symfony\Component\Routing\Router::generate(): Argument #1 ($name) must be of type string, null given, called in /var/www/html/itop/env-production/itop-portal-base/portal/src/Routing/UrlGenerator.php on line 55
Hi Mentrix,
I am not to sure of the root cause, but for sure your XML has issues.
The first part related to <portals>, as it contains no delta = "define" or "redefine" or "force", will be "merged" by iTop loosing all values inside tag. Why do you specify this portion?
Same thing for <classes>, you should check if you must create a new tag in the tree or redefine an existing tag, otherwise the values inside the tags are ignored by the "merge"</classes></portals>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to show the specific Functional CI a user has and for admins they are shown every CI in the and contact in the platform. Here is my extension:
When I tried entering the snippet below it gives an error saying:
Symfony\Component\Routing\Router::generate(): Argument #1 ($name) must be of type string, null given, called in /var/www/html/itop/env-production/itop-portal-base/portal/src/Routing/UrlGenerator.php on line 55
How can add the functional ci without having this error
Hi Mentrix,
I am not to sure of the root cause, but for sure your XML has issues.
The first part related to <portals>, as it contains no delta = "define" or "redefine" or "force", will be "merged" by iTop loosing all values inside tag. Why do you specify this portion?
Same thing for <classes>, you should check if you must create a new tag in the tree or redefine an existing tag, otherwise the values inside the tags are ignored by the "merge"</classes></portals>
Thanks it very helpful.