Error: Got no CustomerUserMap!

Moderator: crythias

Locked
KatashiYamato
Znuny newbie
Posts: 2
Joined: 24 Feb 2014, 16:19
Znuny Version: 3.*.*

Error: Got no CustomerUserMap!

Post by KatashiYamato »

Hello,
I am currently updatung ours OTRS from 3.1.2 to 3.2.14 to 3.3.4.
The Update from 3.1.2 to 3.2.14 works without problems

But after the update to 3.3.4 we get an "Internal Server Error" and the following entry in the apache errors.log:

Code: Select all

... -e: Got no CustomerUserMap! at /opt/otrs//Kernel/System/CustomerUser/DB.pm line 35.\n
We have an mapping to the customers and companys in another mysql-database (nightly filled from our customer-database).
But the configuration was not changed between the updates and we found no information about required changes.

I attached our Config.pm
You do not have the required permissions to view the files attached to this post.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Error: Got no CustomerUserMap!

Post by crythias »

It feels like (?) you've also got this in SysConfig or somehow multiple-defined.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
KatashiYamato
Znuny newbie
Posts: 2
Joined: 24 Feb 2014, 16:19
Znuny Version: 3.*.*

Re: Error: Got no CustomerUserMap!

Post by KatashiYamato »

We compared the CustomerUser and CustomerCompany from "Defaults.pm" with our settings.

The Problem was the "Module => 'Kernel::System::CustomerUser::DB'," in "CustomerCompany".
It had to be "Module => 'Kernel::System::CustomerCompany::DB',".

In OTRS 3.1.2 and 3.2.14 "defaults.pm" was no "Module" for "CustomerCompany" at all...
Maybe we copied it from CustomerUser in our initial setup - and otrs just ignored it until now.

It seems to work with the Module "CustomerCompany" and also if we comment the Module-line out.
For now we have it with Module, as seen in the current "Defaults.pm". Is this the correct setting?
Locked