Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1187

Asking a property twice for it's stream returns the same stream instance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • jackrabbit-core
    • None

    Description

      If you ask a property stored in the database data store (JCR-1154) for it's associated stream twice, the stream instance returned is the same. This behavior is not consistent with the file data store, which returns a different stream instance each time Property.getStream() is called.
      I'm attaching a test case wich demostrates the issue.
      We're working on this and have a potencial fix for it.

      Attachments

        1. DataStoreTestUtils.java
          2 kB
          Esteban Franqueiro
        2. TestTwoGetStreams.java
          2 kB
          Esteban Franqueiro

        Issue Links

          Activity

            People

              Unassigned Unassigned
              efranqueiro Esteban Franqueiro
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: