Custom Customer Auth module - Invalid otrs_config Init value (Simple)!

English! place to talk about OTRS development, programming and coding
Post Reply
vaverka
OTRS newbie
Posts: 5
Joined: 05 Nov 2014, 10:23
OTRS Version?: 3.3.11, 6.0.22
Real Name: Michal Vaverka
Company: Flowmon Networks a.s.

Custom Customer Auth module - Invalid otrs_config Init value (Simple)!

Post by vaverka »

Hello guys,

I would like to ask if somebody have experience with this error message on OTRS 6

Code: Select all

Invalid otrs_config Init value (Simple)! Allowed values: Framework, Application, Config, Changes.
I'm trying to use my custom Customer Auth module this module is working for me on OTRS 3.3.11 but when I put it into OTRS 6 and select it in Config settings I'll get error message.
I tried also put example module from Development guide, but results are same.

I would like to find any glue what to search for as there is no more details in any logs.

Thank you for any help.

Kindly regards
Michal

zzz
OTRS superhero
Posts: 614
Joined: 15 Dec 2016, 15:13
OTRS Version?: 3.x–6.0.x
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: Custom Customer Auth module - Invalid otrs_config Init value (Simple)!

Post by zzz »

Hello Michal,

You can't just use a 3.x module on newer versions. The OTRS API is changing from version to version and therefore the new code must be adapted.

The error is probably getting triggered by your custom XML file. Your /opt/otrs/Kernel/Config/Files/XML/Custom.xml should start like this:
<?xml version="1.0" encoding="utf-8" ?>
<otrs_config version="2.0" init="Application">
The 'Package Porting' doc will show you some major changes: https://doc.otrs.com/doc/manual/develop ... rting.html

Best regards
Emin
Professional OTRS services for development, consulting, hosting and support:
efflux.de – German | efflux.de/en/ – English

Free and premium OTRS add-ons (TextModule, AdBlocker, ModernSkin, ModernSkinCustomer etc.): portal.efflux.de

vaverka
OTRS newbie
Posts: 5
Joined: 05 Nov 2014, 10:23
OTRS Version?: 3.3.11, 6.0.22
Real Name: Michal Vaverka
Company: Flowmon Networks a.s.

SOLVED - Re: Custom Customer Auth module - Invalid otrs_config Init value (Simple)!

Post by vaverka »

Hello Emin,

thank you for your reaction. Yes there was a problem with incomplete XML config file. Just misunderstanding from documentation.

BR
Michal

Post Reply