Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-192

CLI - retrieving memcached encoded entries without encoding doesn't throw expected exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Optional Optional
    • None
    • JDG 7.0.0 ER3, JDG 7.1.0 ER1, JDG 7.1.2 CR1
    • CLI

      Steps to reproduce:
      jboss-datagrid-7.0.0-server/bin/standalone.sh
      jboss-datagrid-7.0.0-server/bin/ispn-cli.sh
      [disconnected /] connect
      [standalone@localhost:9990 /] container local
      [standalone@localhost:9990 cache-container=local] cache default
      [standalone@localhost:9990 local-cache=default] encoding memcached
      [standalone@localhost:9990 local-cache=default] put key value
      [standalone@localhost:9990 local-cache=default] get key
      value
      [standalone@localhost:9990 local-cache=default] encoding none
      [standalone@localhost:9990 local-cache=default] get key
      "dmFsdWU="

      expected result (from JDG.7.0.0.ER1):
      ...
      [standalone@localhost:9990 local-cache=default] encoding none
      [standalone@localhost:9990 local-cache=default] get key
      No serializer found for class org.infinispan.server.memcached.MemcachedValue and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) )

              gfernand@redhat.com Gustavo Fernandes (Inactive)
              rmacor Roman Macor (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: