]
RH Bugzilla Integration commented on ISPN-3870:
-----------------------------------------------
Tristan Tarrant <ttarrant(a)redhat.com> changed the Status of [bug
Cannot put negative numbers via CLI
-----------------------------------
Key: ISPN-3870
URL:
https://issues.jboss.org/browse/ISPN-3870
Project: Infinispan
Issue Type: Bug
Components: CLI
Affects Versions: 6.0.0.Final
Reporter: Vitalii Chepeliuk
Run following command via CLI
[remoting://localhost:9999/local/default]> put key1 -0.1234567
[remoting://localhost:9999/local/default]> get key1
0.1234567
[remoting://localhost:9999/local/default]> put key2 -1.1234567
[remoting://localhost:9999/local/default]> get key2
0.1234567
[remoting://localhost:9999/local/default]> put key3 -1234567
[remoting://localhost:9999/local/default]> get key3
234567
[remoting://localhost:9999/local/default]>
--- Server log
10:51:20,267 ERROR [stderr] (pool-1-thread-8) line 1:10 mismatched character '1'
expecting '-'
10:52:23,997 ERROR [stderr] (pool-1-thread-8) line 1:10 mismatched character '0'
expecting '-'
10:52:32,432 ERROR [stderr] (pool-1-thread-8) line 1:10 mismatched character '1'
expecting '-'
10:52:59,252 ERROR [stderr] (pool-1-thread-8) line 1:10 mismatched character '1'
expecting '-'