[Bug + minor work-around] RT > I doit link
-
Hey,
We again ran into a problem with RT to I doit using multiple mandators.
Minor problem 1
In RT you can link to I doit which will generates a link like this "index.php?load=rt&rt=51&ct=NLcom_srv_MANAGE".
Problem however is that yet again, because of multiple mandators, I Doit does not know which correct database (mandator) to select.
Logging into the correct mandator gives the correct item. Logging out or being in another mandator gives nothing.A solution would be:
1. RT gives the DB to select and shows the item. Could lead to incorrect rights to view the item.
2. Doit selects the correct mandator and sets the pull-down on that value.
3. Same as 1, except prompts with just a username and password screen instead of username, password and mandator.It's not a big problem but would be handy to have since it saves time.
Minor problem 2 + Workaround fix
Same thing except this time you are logged in correctly to the correct mandator for the item. The link from RT selects the wrong category. It gives an error that the category is incorrect. Looking at the navigation it shows "CMDB > Server > NLcom_srv_MANAGE > N /A".
We made a workaround to fix this.Go to RT.php in \src\tools\php
Find:$_GET[C__CMDB__GET__CATG] = C__CATG__TICKETS;
Alter to:
$_GET[C__CMDB__GET__CATG] = 1;
This will result that the general category of the item gets selected.
If more information is required, don't hesitate don't ask.
-
Hi,
thanks for the report. At the moment we are revising the interface between i-doit and RT.
Regards
Christian