Uploaded image for project: 'JBoss Enterprise Data Grid'
  1. JBoss Enterprise Data Grid
  2. EDG-59

byte array storage problem via rest server module

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • EAP 5.1.0 EDG TP
    • Infinispan
    • None

    Description

      infinispan 4.2.0.FINAL issue:

      when I want to store byte array in the serialized form (mimetype: application/x-java-serialized-object) I can't get it back, because rest server returns it in raw form instead of serialized form.

      see https://github.com/infinispan/infinispan/blob/4.2.0.FINAL/server/rest/src/main/scala/org/infinispan/rest/Server.scala, line 44-50.

      the process is like this:
      1. PUT bytearray in serialized form
      2. rest server deserializes the bytearray and stores it in deserialized (raw) form
      3. GET byte array (expecting serialized form)
      4. rest server retrieves the byte array in raw form but doesn't serialize it, instead streams it in raw form - because of the above mentioned code.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mlinhard Michal Linhard (Inactive)
              Archiver:
              samahaja@redhat.com Sagar Mahajan

              Dates

                Created:
                Updated:
                Resolved:
                Archived: