jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Kruse (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-1187) Asking a property twice for it's stream returns the same stream instance
Date Mon, 18 May 2009 19:35:45 GMT

    [ 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.


Mime
View raw message