Le Ven 08 Juin 2018 15:04:17, skupko.sk@gmail.com a écrit :
Show quoted text> Upgraded to RT 4.4.2 and still not working.
> Realized it is conflicting with RT::IR extension. When I disable
> RT::IR, the Extension is working.
>
> With latest RT::IR enabled we get following error on display of
> Modify.html page:
>
> Jun 8 14:51:54 security-infra RT: [9509] Can't call method "QueueObj"
> on an undefined value at
> /opt/rt4/local/plugins/RT-
> IR/html/Callbacks/RTIR/Elements/EditCustomField/EditComponentName
> line 51.#012#012Stack:#012
> [/opt/rt4/local/plugins/RT-
> IR/html/Callbacks/RTIR/Elements/EditCustomField/EditComponentName:51]#012
> [/opt/rt4/share/html/Elements/EditCustomField:127]#012
> [/opt/rt4/share/html/Admin/CustomFields/Modify.html:139]#012
> [/opt/rt4/share/html/Admin/autohandler:49]#012
> [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:696]#012
> [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:375]#012
> [/opt/rt4/share/html/autohandler:53]
Hi Peter,
I haven't chance to use RT::IR yet but from the error log you've posted, it seems that the issue is unrelated to RT::Extension::ConditionalCustomFields. For what I can guess, the callback opt/rt4/local/plugins/RT-IR/html/Callbacks/RTIR/Elements/EditCustomField/EditComponentName has been called with Object argument being undefined. So you should investigate why, but ConditionalCustomFields doesn't do anything at this point.
Also, I've seen that this callback is no more included in last version or RT::IR
https://github.com/bestpractical/rtir/tree/4.0-trunk/html/Callbacks/RTIR/Elements.