Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-3870

Cannot put negative numbers via CLI

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 6.0.0.Final
    • CLI
    • None

      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 '-'

              Unassigned Unassigned
              vchepeli_jira Vitalii Chepeliuk (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare
              Vitalii Chepeliuk Vitalii Chepeliuk (Inactive)

                Created:
                Updated:
                Resolved:
                Archived: