[SOLVED]kernel module not registered in Kernel/Config.pm

English! place to talk about development, programming and coding
Post Reply
girishmungra
Znuny newbie
Posts: 59
Joined: 24 Jul 2012, 18:20
Znuny Version: 3.1.7
Real Name: Girish Mungra

[SOLVED]kernel module not registered in Kernel/Config.pm

Post by girishmungra »

hi
I've duplicated the pm AgentITSMChangeMyWorkOrders to AgentITSMChangeMyWorkOrders2 and changed the filter options there.
When i try to access it now i get the following error

Kernel::Modules::AgentITSMChangeMyWorkOrders2 not registered in Kernel/Config.pm! Traceback (2185): Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 731

What did i do wrong please?
Last edited by girishmungra on 24 Jun 2013, 16:45, edited 1 time in total.
OTRS 3.1.7 on Linux RedHat with MySQL database connected to an Active Directory for Agents and Customers.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: kernel module not registered in Kernel/Config.pm

Post by reneeb »

What it said: You didn't register the new module!

Search in Kernel/Config/Files/ITSMChangeManagement.xml for "Frontend::Module###AgentITSMChangeMyWorkOrders" and copy that <ConfigItem>-Section and change it to "Frontend::Module###AgentITSMChangeMyWorkOrders2"...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
girishmungra
Znuny newbie
Posts: 59
Joined: 24 Jul 2012, 18:20
Znuny Version: 3.1.7
Real Name: Girish Mungra

Re: kernel module not registered in Kernel/Config.pm

Post by girishmungra »

Thanks a lot it seems to be working.
But now I have the error message:

Insufficient Rights
Message: You need permissions!

I am admin and have full access on all groups
OTRS 3.1.7 on Linux RedHat with MySQL database connected to an Active Directory for Agents and Customers.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: kernel module not registered in Kernel/Config.pm

Post by reneeb »

Right, you'll find a few config options beginning with "ITSMChange::Frontend::AgentITSMChangeMyWorkOrders###" in the XML file. You have to copy those, too...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
girishmungra
Znuny newbie
Posts: 59
Joined: 24 Jul 2012, 18:20
Znuny Version: 3.1.7
Real Name: Girish Mungra

Re: kernel module not registered in Kernel/Config.pm

Post by girishmungra »

You are a life saver!

Thanksss
OTRS 3.1.7 on Linux RedHat with MySQL database connected to an Active Directory for Agents and Customers.
Post Reply