Admin Menu not working when details in CMDB are shown

English! place to talk about development, programming and coding
Post Reply
shild
Znuny newbie
Posts: 3
Joined: 07 Mar 2017, 17:30
Znuny Version: 5.0.17

Admin Menu not working when details in CMDB are shown

Post by shild »

Hey there,

I'm trying to update a OTRS 4.0.22 Installation with ITSM installed to the latest Version.
After some trail and error runs I was able to update either OTRS and ITSM to the latest versions (both 5.0.17).

Everything is working quite well - except one thing: if I open one Configuration Item in the CMDB the menu-bar isn't working anymore. The CSS mouseover effects are still working, but no click is working. Even a reload doesn't help.
After reopening http://.../otrs/index.pl everything is working fine. This occurs on different client machines. Browser cache or OTRS cache clearing won't do the trick neither.

Anybody got the same problem and/or does have a sollution?

Thanks in advance

BR
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Admin Menu not working when details in CMDB are shown

Post by RStraub »

Hey there,

I think I had the same problem - but always, not only when in the CMDB. For me, the update put the Admin-Link into a dropdown, instead of a direct link. As the dropdown was empty however, nothing happened when clicking on it.

Try reseting (if possible) the module registration in the SysConfig under:
Framework → Frontend::Admin::ModuleRegistration
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
shild
Znuny newbie
Posts: 3
Joined: 07 Mar 2017, 17:30
Znuny Version: 5.0.17

Re: Admin Menu not working when details in CMDB are shown

Post by shild »

Hey,

thanks for your post, unfortunately I am not exactly shure how to reset.

In the meantime I went further:

After disabling the CSS and JS cache to make shure the old caches have no error, I discovered what might be the cause of the problem.

The build-in webadmin-tools of Firefox show the following error in the console:

Code: Select all

TypeError: ErrorObject.GetType is not a function[Weitere Informationen]  Core.Exception.js:124:25
	TargetNS.HandleFinalError 				https://192.168.247.102/otrs-web/js/Core.Exception.js:124:25
	TargetNS.Ready/< 					https://192.168.247.102/otrs-web/js/Core.App.js:190:21
	n.Callbacks/j 						https://192.168.247.102/otrs-web/js/thirdparty/jquery-2.1.4/jquery.js:2:26920
	n.Callbacks/k.fireWith 				https://192.168.247.102/otrs-web/js/thirdparty/jquery-2.1.4/jquery.js:2:27738
	.ready 							https://192.168.247.102/otrs-web/js/thirdparty/jquery-2.1.4/jquery.js:2:29530
	I 								https://192.168.247.102/otrs-web/js/thirdparty/jquery-2.1.4/jquery.js:2:29721
shild
Znuny newbie
Posts: 3
Joined: 07 Mar 2017, 17:30
Znuny Version: 5.0.17

Re: Admin Menu not working when details in CMDB are shown

Post by shild »

Hey,

I got it.
After temporarily commenting out the following line 124 in /opt/otrs/var/httpd/htdocs/js/Core.Exception.js

Code: Select all

ErrorType = ErrorObject.GetType();
I was able to see what was the real error:

Code: Select all

ITSM.Agent.ConfirmDialog is undefined
For this error there is a resolved issue here on the board:

viewtopic.php?t=33930

Fixing this it worked. But I am not sure why the first error initially occured.
Post Reply