Created attachment 840791 [details] "Invalid numeric value" message shown in web console while setting reconnect-attempts = -1 Description of problem: Web console says -1 is an "Invalid numeric value" while setting ReconnectAttempts on connection factory. Also it shows ReconnectAttempts value 0 if it is set to -1 in configuration file. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Set reconnect-attempts value through CLI as below : [standalone@localhost:9999 /] /subsystem=messaging/hornetq-server=default/connection-factory=RemoteConnectionFactory/:write-attribute(name=reconnect-attempts,value=-1) {"outcome" => "success"} [standalone@localhost:9999 /] 2. check it through Web console, it shows value set to 0. 3. Try to edit value to -1, it gives message as "Invalid numeric value". Actual results: Expected results: Additional info:
*** This bug has been marked as a duplicate of bug 1018800 ***