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

Should not attempt to open the default tmp directory in DBConfig constructor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.8.0
    • Component/s: Java-Android
    • Security Level: Public
    • Labels:
      None
    • Sprint:
      CBL Sprint 10
    • Story Points:
      3

      Description

      The DatabaseConfiguration object allows specifying a custom temp directory. The code, however, can fail attempting to resolve the default directory, before the client code has a chance to set the custom directory. That is broken.

        Attachments

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

          Activity

          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-lite-java-2.8.0-16 contains couchbase-lite-java commit e79695a with commit message:
          CBL-496: Fix use of temp directory

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-lite-java-2.8.0-16 contains couchbase-lite-java commit e79695a with commit message: CBL-496 : Fix use of temp directory
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-lite-java-2.8.0-16 contains couchbase-lite-java-ee commit 9add958 with commit message:
          CBL-496: Fix use of temp directory

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-lite-java-2.8.0-16 contains couchbase-lite-java-ee commit 9add958 with commit message: CBL-496 : Fix use of temp directory
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-lite-android-2.8.0-29 contains couchbase-lite-android commit 22562de with commit message:
          CBL-496: Fix use of temp directory

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-lite-android-2.8.0-29 contains couchbase-lite-android commit 22562de with commit message: CBL-496 : Fix use of temp directory
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-lite-android-2.8.0-29 contains couchbase-lite-java commit e79695a with commit message:
          CBL-496: Fix use of temp directory

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-lite-android-2.8.0-29 contains couchbase-lite-java commit e79695a with commit message: CBL-496 : Fix use of temp directory
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-lite-android-2.8.0-29 contains couchbase-lite-java-ee commit 9add958 with commit message:
          CBL-496: Fix use of temp directory

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-lite-android-2.8.0-29 contains couchbase-lite-java-ee commit 9add958 with commit message: CBL-496 : Fix use of temp directory
          Hide
          blake.meike Blake Meike added a comment -

          I think I've got this resolved.
          There may be other places with the same problem...

          Show
          blake.meike Blake Meike added a comment - I think I've got this resolved. There may be other places with the same problem...
          Hide
          blake.meike Blake Meike added a comment -

          Just to be clear, I was unable to prevent the Configuration constructor from using the directory path. I did, however, require that the CBLite system be initialized before the construction of any Configurations.

          Show
          blake.meike Blake Meike added a comment - Just to be clear, I was unable to prevent the Configuration constructor from using the directory path. I did, however, require that the CBLite system be initialized before the construction of any Configurations.

            People

            Assignee:
            blake.meike Blake Meike
            Reporter:
            blake.meike Blake Meike
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty