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

Improper marshalling in caches without encoding

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 13.0.0.Dev02
    • 12.1.3.Final
    • Server
    • None

      Server caches without encoding assumes "unknown" format and conversions from/to MediaType.APPLICATION_OBJECT are incorrect: instead of always using the user marshaller to go from/to the storage format, it uses an arbitrary rule where byte[] are stored "as is", String are stored as UTF-8 byte[] and custom objects are marshalled. This causes loss of information when trying to read the stored content.

      Many tests are incorrect and take advantage of this wrong conversion

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

              Created:
              Updated:
              Resolved: