You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Ryan Kruse (JIRA)" <ji...@apache.org> on 2009/05/18 21:35:45 UTC

[jira] Commented: (JCR-1187) Asking a property twice for it's stream returns the same stream instance

    [ https://issues.apache.org/jira/browse/JCR-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12710459#action_12710459 ] 

Ryan Kruse commented on JCR-1187:
---------------------------------

We're using 1.5.3 and running into the reuse of an InputStream issue on a stored object.  I can't simply reset the stream when using the DbInputStream so I have no acceptable workaround at this point. 

Can anyone provide a status on this bug or some pointers?

> 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 Content Repository
>          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.