Hi All,

as David pointed out, XX-8358 (Incorrect error message prompted upon entering 
larger values in Mediant 1000 PRI gateway pages) is related to fix for XX-7663 
- Integer validation in sipx: Tapestry validator(for integer) accepting invalid 
input & not throwing validation error.
What it happens is that when introducing a greater value than Integer max value 
for "Proxy Keepalive Time" option the integer translator will throw a validate 
exception and "Proxy Keepalive Time must be a numeric value" message is 
displayed.
But this could be confusing since "Proxy Keepalive Time" is a integer setting 
defined with a max value of 2000000 ( <integer min="5" max="2000000"/> ).
A simple solution for this would be to change the integer translator validation 
message to something like "must be a valid int value (digits, min value, max 
value)". 
This way if the user specifies a greater value than max Int he/she will get an 
error message like "Proxy Keepalive Time must be a valid int value". If the 
value is greater than 2000000 but a valid int value, the "Proxy Keepalive Time 
must not be larger than 2000000" message will be displayed.

Any other ideas?

Thanks,
George



      

_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to