(SOLVED) Error: an invalid value was entered

Moderator: crythias

Locked
morecw
Znuny expert
Posts: 215
Joined: 18 Jun 2012, 09:24
Znuny Version: 3.1.6
Real Name: Craig Wellman
Company: STÜBER SYSTEMS

(SOLVED) Error: an invalid value was entered

Post by morecw »

sshot-1.png
The new pending time works anyway. Even though anything over '999999' causes this error in Sysconfig

I just wanted to report it
You do not have the required permissions to view the files attached to this post.
Last edited by morecw on 29 Nov 2012, 20:11, edited 1 time in total.
OTRS 3.1.6, Windows 2008 with MySQL database
Firefox 14, Chrome 22
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: Error: an invalid value was entered

Post by reneeb »

The XML file that specifies this config option says "<String Regex="^[0-9]{1,6}$">86400</String>" this is why you get the error. Please file a bug at bugs.otrs.org
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
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Error: an invalid value was entered

Post by crythias »

Yeah, you can change the 6 to a 7 if you want all pendings to default to 2 weeks and obey regex... but that sounds like you may want to look at a different way to handle these things *cough* Generic Agent *cough* as a 2 week default pending doesn't make sense for most ticket actions (This would usually violate an SLA, which is why they're intended to be shorter).
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
morecw
Znuny expert
Posts: 215
Joined: 18 Jun 2012, 09:24
Znuny Version: 3.1.6
Real Name: Craig Wellman
Company: STÜBER SYSTEMS

Re: Error: an invalid value was entered

Post by morecw »

crythias wrote:Yeah, you can change the 6 to a 7
Still errors though...
OTRS 3.1.6, Windows 2008 with MySQL database
Firefox 14, Chrome 22
morecw
Znuny expert
Posts: 215
Joined: 18 Jun 2012, 09:24
Znuny Version: 3.1.6
Real Name: Craig Wellman
Company: STÜBER SYSTEMS

Re: Error: an invalid value was entered

Post by morecw »

reneeb wrote:The XML file that specifies this config option says "<String Regex="^[0-9]{1,6}$">86400</String>" this is why you get the error. Please file a bug at bugs.otrs.org
ok have done
OTRS 3.1.6, Windows 2008 with MySQL database
Firefox 14, Chrome 22
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Error: an invalid value was entered

Post by crythias »

sorry. I meant 6 to 7 in the regex ...
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
morecw
Znuny expert
Posts: 215
Joined: 18 Jun 2012, 09:24
Znuny Version: 3.1.6
Real Name: Craig Wellman
Company: STÜBER SYSTEMS

Re: Error: an invalid value was entered

Post by morecw »

crythias wrote:sorry. I meant 6 to 7 in the regex ...
Yep, that works. Thanks!
OTRS 3.1.6, Windows 2008 with MySQL database
Firefox 14, Chrome 22
Locked