Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-966

JPA connector attempts to compress a Binary value using GZIPInputStream (which can only read already-compressed data)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 2.3.0.Final, 2.2.1.GA
    • 2.2.0.Final
    • Storage
    • None
    • Workaround Exists
    • Hide

      Configure the JPA source to NOT use compression.

      Show
      Configure the JPA source to NOT use compression.
    • Medium

      The problem started out with MODE-958, but the underlying cause was determined to be a bug inside the JPA connector. Because of the strangeness of the Binary interface (which exposes an InputStream), we're trying to read it with a GZIPInputStream (SimpleJpaRepository line 886). But GZIPInputStream only works when the content is already in GZIP format.

            rhauch Randall Hauch (Inactive)
            rhauch Randall Hauch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: