OTRS 3.3.1 Statistics Edit problem
Moderator: crythias
OTRS 3.3.1 Statistics Edit problem
Hi there,
After the migration from 3.2.12 to 3.3.1 I'm having problems with editing the stats.
When I click on the Edit button I get the following error in the browser :
--
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
--
The following errors are in the apache error log :
[Thu Dec 19 07:54:20 2013] [error] Can't use string ("1/8") as a HASH ref while "strict refs" in use at /opt/otrs//Kernel/Modules/AgentStats.pm line 1406.\n
[Thu Dec 19 07:54:21 2013] -e: Use of uninitialized value $ValueHash{"40"} in string comparison (cmp) at /opt/otrs//Kernel/Modules/AgentStats.pm line 417.
[Thu Dec 19 07:54:21 2013] -e: Use of uninitialized value $ValueHash{"41"} in string comparison (cmp) at /opt/otrs//Kernel/Modules/AgentStats.pm line 417.
etc.
System: Red Hat Enterprise Linux Server release 6.5 (Santiago), MySQL 5.1.71
After the migration from 3.2.12 to 3.3.1 I'm having problems with editing the stats.
When I click on the Edit button I get the following error in the browser :
--
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
--
The following errors are in the apache error log :
[Thu Dec 19 07:54:20 2013] [error] Can't use string ("1/8") as a HASH ref while "strict refs" in use at /opt/otrs//Kernel/Modules/AgentStats.pm line 1406.\n
[Thu Dec 19 07:54:21 2013] -e: Use of uninitialized value $ValueHash{"40"} in string comparison (cmp) at /opt/otrs//Kernel/Modules/AgentStats.pm line 417.
[Thu Dec 19 07:54:21 2013] -e: Use of uninitialized value $ValueHash{"41"} in string comparison (cmp) at /opt/otrs//Kernel/Modules/AgentStats.pm line 417.
etc.
System: Red Hat Enterprise Linux Server release 6.5 (Santiago), MySQL 5.1.71
Re: OTRS 3.3.1 Statistics Edit problem
Seems to be a bug, I have the same Probs.
[Tue Jan 14 17:41:03 2014] [error] Can't use string ("1/8") as a HASH ref while "strict refs" in use at /opt/otrs//Kernel/Modules/AgentStats.pm line 1406.\n
[Tue Jan 14 17:41:18 2014] [error] Can't use string ("1/8") as a HASH ref while "strict refs" in use at /opt/otrs//Kernel/Modules/AgentStats.pm line 1406.\n
[Tue Jan 14 17:41:03 2014] [error] Can't use string ("1/8") as a HASH ref while "strict refs" in use at /opt/otrs//Kernel/Modules/AgentStats.pm line 1406.\n
[Tue Jan 14 17:41:18 2014] [error] Can't use string ("1/8") as a HASH ref while "strict refs" in use at /opt/otrs//Kernel/Modules/AgentStats.pm line 1406.\n
-
- Znuny superhero
- Posts: 630
- Joined: 17 Mar 2011, 14:40
- Znuny Version: 5.0.6
- Real Name: Yuri Kolesnikov
- Location: Russia
Re: OTRS 3.3.1 Statistics Edit problem
Hi!
I'm also have the same problem on 3.3.3 version. Some stats I can't edit with same message
I'm also have the same problem on 3.3.3 version. Some stats I can't edit with same message
Can't use string ("1/8") as a HASH ref while "strict refs" in use at /opt/otrs//Kernel/Modules/AgentStats.pm line 1406.\n
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
-
- 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: OTRS 3.3.1 Statistics Edit problem
You say "some stats"? What do they have in common? Are those stats created by you? Are they stats of stock OTRS? For which stats it works?
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny superhero
- Posts: 630
- Joined: 17 Mar 2011, 14:40
- Znuny Version: 5.0.6
- Real Name: Yuri Kolesnikov
- Location: Russia
Re: OTRS 3.3.1 Statistics Edit problem
All of stock stats are editable. Some of stats that I'll created also I can edit. But some of my stats gives me an error message. They have not been edited since
v. 3.2.11. I found this just now in version 3.3.3. I don't execute & edit them for about 4 month.
Sorry my bad English.
v. 3.2.11. I found this just now in version 3.3.3. I don't execute & edit them for about 4 month.
Sorry my bad English.
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
Re: OTRS 3.3.1 Statistics Edit problem
I found a way to bypass this bug. I just exported the stats that can't be edited. After reimporting, everything seems to be fine.All of stock stats are editable. Some of stats that I'll created also I can edit. But some of my stats gives me an error message. They have not been edited since
v. 3.2.11. I found this just now in version 3.3.3. I don't execute & edit them for about 4 month.
-
- Znuny superhero
- Posts: 630
- Joined: 17 Mar 2011, 14:40
- Znuny Version: 5.0.6
- Real Name: Yuri Kolesnikov
- Location: Russia
Re: OTRS 3.3.1 Statistics Edit problem
I wanted to try your method, BUT before it I'm try to edit it. All stats become editable without any efforts. It's nonsense, but true.



Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
-
- Znuny newbie
- Posts: 11
- Joined: 13 Aug 2013, 08:33
- Znuny Version: 3.2.9
- Real Name: Anderas Larsson
- Company: Consid AB
Re: OTRS 3.3.1 Statistics Edit problem
We had the same problem today. I exported and imported one of the problematic reports. Once I had done that all other reports was possible to edit again. Very strange.
-
- Znuny superhero
- Posts: 630
- Joined: 17 Mar 2011, 14:40
- Znuny Version: 5.0.6
- Real Name: Yuri Kolesnikov
- Location: Russia
Re: OTRS 3.3.1 Statistics Edit problem
Try to upgrade OTRS for 3.3.4. This bug where fixed in it as I know.
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)