[Solved] No state for xxx found!

Moderator: crythias

Locked
jlamarche
Znuny newbie
Posts: 43
Joined: 22 Nov 2013, 11:01
Znuny Version: 5.0.12
Real Name: Jordan Lamarche
Company: Smarthys

[Solved] No state for xxx found!

Post by jlamarche »

Hello,

Since we upgraded to 5.0.12, we have these recurrent errors :

Code: Select all

[Tue Aug 23 12:00:22 2016][Error][Kernel::System::State::StateLookup][589] No State for new found!
[Tue Aug 23 12:00:22 2016][Error][Kernel::System::State::StateLookup][589] No State for open found!
[Tue Aug 23 12:00:22 2016][Error][Kernel::System::State::StateLookup][589] No State for pending reminder found!
[Tue Aug 23 12:00:51 2016][Error][Kernel::System::State::StateLookup][589] No State for new found!
[Tue Aug 23 12:00:51 2016][Error][Kernel::System::State::StateLookup][589] No State for open found!
[Tue Aug 23 12:00:51 2016][Error][Kernel::System::State::StateLookup][589] No State for pending reminder found!
It spams the otrs.log file a lot. How do we solve these errors ?

Best regards,
JL
Last edited by jlamarche on 01 Sep 2016, 14:52, edited 1 time in total.
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: No state for xxx found!

Post by reneeb »

Did you rename the states?
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
jlamarche
Znuny newbie
Posts: 43
Joined: 22 Nov 2013, 11:01
Znuny Version: 5.0.12
Real Name: Jordan Lamarche
Company: Smarthys

Re: No state for xxx found!

Post by jlamarche »

Hello,

Thank you for your answer.

Someone did, a long time ago in a galaxy far far away, unfortunately.
As far as I know he did correct this error on our previous version (3.2.9), but now we have it again and don't know so far how to solve it.

Best regards,
JL
jlamarche
Znuny newbie
Posts: 43
Joined: 22 Nov 2013, 11:01
Znuny Version: 5.0.12
Real Name: Jordan Lamarche
Company: Smarthys

Re: No state for xxx found!

Post by jlamarche »

Hello,

Here are the states that we have for the types "open", "new" and "pending reminder":

Code: Select all

New
Open
Pending (complex task - level 2)
Pending (waiting Editor)
Pending (waiting GoProd)
Pending (waiting Information)
Pending (waiting Intervention)
Pending (waiting Outsourcer)
Pending (waiting Validation)
What should I change in order to avoid getting these error messages ?

Code: Select all

[Tue Aug 23 12:00:51 2016][Error][Kernel::System::State::StateLookup][589] No State for new found!
[Tue Aug 23 12:00:51 2016][Error][Kernel::System::State::StateLookup][589] No State for open found!
[Tue Aug 23 12:00:51 2016][Error][Kernel::System::State::StateLookup][589] No State for pending reminder found!
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: No state for xxx found!

Post by reneeb »

Add new states with the correct spelling or search the sysconfig for places where the "old" states are used...
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
jlamarche
Znuny newbie
Posts: 43
Joined: 22 Nov 2013, 11:01
Znuny Version: 5.0.12
Real Name: Jordan Lamarche
Company: Smarthys

Re: No state for xxx found!

Post by jlamarche »

Hello,

Thanks reneeb, I managed to solve this issue thanks to you.

For others, if you get this error it may mean that inside Sysconfig → Ticket → Frontend::Agent::Dashboard you have to find "DashboardBackend###0270-TicketQueueOverview" and then change the names of the states to existing states.

Best regards,
Jordan
Locked