Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-2320

BlobInputStream read() returns negative values

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.5.0
    • 3.0
    • Java, Java-Android
    • Security Level: Public
    • None
    • 1

    Description

      • CBL: 3.0.0 - 149
      • Steps to reproduce: 
      • Run Todo desktop
      • Create/Update a task image with a PNG image
      • Image is not visible in GUI
      • Actual result: 
      • When loading a PNG image, read() returns negative values which cause IOException in Java. However, the exception is swallowed, program still runs normally but image won't be loaded.
      • Expected result: 
      • read() returns values range from 0 - 255
      • PNG image is loaded and visible on GUI

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          Build couchbase-lite-java-3.0.0-178 contains couchbase-lite-java-ee-root commit 97204fe with commit message:
          CBL-2320: BlobOutputStream.read() is returning negative values.

          build-team Couchbase Build Team added a comment - Build couchbase-lite-java-3.0.0-178 contains couchbase-lite-java-ee-root commit 97204fe with commit message: CBL-2320 : BlobOutputStream.read() is returning negative values.
          blake.meike Blake Meike added a comment - - edited

          Build is up. it is 3.0.0-178

          blake.meike Blake Meike added a comment - - edited Build is up. it is 3.0.0-178

          Fix verified

          lauren.nguyen Lauren Nguyen added a comment - Fix verified

          Build couchbase-lite-android-3.1.0-2 contains couchbase-lite-java-ee-root commit c25aaf1 with commit message:
          CBL-2320: BlobInputStream returns negative values

          build-team Couchbase Build Team added a comment - Build couchbase-lite-android-3.1.0-2 contains couchbase-lite-java-ee-root commit c25aaf1 with commit message: CBL-2320 : BlobInputStream returns negative values

          Build couchbase-lite-java-3.1.0-2 contains couchbase-lite-java-ee-root commit c25aaf1 with commit message:
          CBL-2320: BlobInputStream returns negative values

          build-team Couchbase Build Team added a comment - Build couchbase-lite-java-3.1.0-2 contains couchbase-lite-java-ee-root commit c25aaf1 with commit message: CBL-2320 : BlobInputStream returns negative values

          People

            lauren.nguyen Lauren Nguyen
            lauren.nguyen Lauren Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty