jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Esteban Franqueiro (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1187) Asking a property twice for it's stream returns the same stream instance
Date Wed, 24 Oct 2007 15:47:50 GMT

     [ https://issues.apache.org/jira/browse/JCR-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Esteban Franqueiro updated JCR-1187:
------------------------------------

    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.

  was:
If you ask a property for it's associated stream twice, even if you don't read from any of
the streams, 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.


> Asking a property twice for it's stream returns the same stream instance
> ------------------------------------------------------------------------
>
>                 Key: JCR-1187
>                 URL: https://issues.apache.org/jira/browse/JCR-1187
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core
>            Reporter: Esteban Franqueiro
>         Attachments: DataStoreTestUtils.java, TestTwoGetStreams.java
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message