[SOLVED] Log errors when viewing a ticket in the frontend (ticketzoom)

Moderator: crythias

Post Reply
User avatar
christianclavet
OTRS expert
Posts: 75
Joined: 27 Aug 2018, 13:50
OTRS Version?: Community
Real Name: Christian Clavet
Company: Tact Group

[SOLVED] Log errors when viewing a ticket in the frontend (ticketzoom)

Post by christianclavet » 14 Sep 2018, 19:55

Hi.

Seen something strange here. It's not critical, and just annoying.

My account is in the "admin" group as I manage and configure our OTRS Community here.

Each time I look at a ticket in the "ticketzoom" screen, there are theses 2 messages that pop in the log. There no strange behavior and everything seem fine. It just that members of the admin group, will make it happen each time they get in the ticket zoom screen of the front end. Tested with a regular user and there is no log report at all.

Here is the messages that are coming out in the log:
Need Type!
Invalid config for Key Group: 'admin'! Need something like '$Permission:$Group;'


I've tried to rebuild the config from the otrs.Console.pl command, but the issue is still there.
- Were only using groups here for the permission. Were not using the roles.
- Almost all the tickets we have in OTRS come from process tickets, so they are generated from processes. Most communication work from agent-agent
Any help or hint would be appreciated! :)

Regards,
Christian Clavet
TACT GROUP
Montreal (CANADA)
Last edited by christianclavet on 17 Sep 2018, 15:01, edited 2 times in total.
----------------------------------------------
OTRS Community 6.0.11
Debian 9.0

MariaDB

reneeb
OTRS guru
Posts: 4703
Joined: 13 Mar 2011, 09:54
OTRS Version?: 3.3.x
Company: Perl-Services.de
Contact:

Re: Log errors when viewing a ticket in the frontend (ticketzoom)

Post by reneeb » 16 Sep 2018, 09:10

Check the Systemconfiguration Frontend -> Agent -> View -> TicketZoom -> MenuModule . Check all settings for the "Group" key. I assume that in at least one setting this Key exists and with only "admin" as its value. But the value has to be in format "<permission>:<group>", hence it should be "rw:admin" (or "ro:admin")...
Perl / OTRS development: http://perl-services.de
Free OTRS add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de

User avatar
christianclavet
OTRS expert
Posts: 75
Joined: 27 Aug 2018, 13:50
OTRS Version?: Community
Real Name: Christian Clavet
Company: Tact Group

Re: Log errors when viewing a ticket in the frontend (ticketzoom)

Post by christianclavet » 17 Sep 2018, 14:11

Hi! Checked and the group attributes are empty for that key. But I'll do a check for that in the config and hope to find it. Thanks for the hint! :)
EDIT: Found it!

I disabled this key:
$Self->{'Ticket::Frontend::MenuModule'}->{'460-Delete'}

And now, there no errors in the log when I check a ticket in the ticketzoom view. I did not need to have this one active anyway.
----------------------------------------------
OTRS Community 6.0.11
Debian 9.0

MariaDB

Post Reply