[jira] Updated: (COCOON-2192) CachingOutputStream does not cache all contents.
[ https://issues.apache.org/jira/browse/COCOON-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jörg Heinicke updated COCOON-2192: -- Fix Version/s: 2.2-dev (Current SVN) 2.1.12-dev (Current SVN) Affects version (Component): Parent values: Components: Pipeline(10157). Level 1 values: 1.0.0-RC1(10224). Fix version (Component): Parent values: Components: Pipeline(10228). Assignee: Jörg Heinicke Other Info: [Patch available] Affects Version/s: (was: 2.2-dev (Current SVN)) 2.2 2.1.11 > CachingOutputStream does not cache all contents. > > > Key: COCOON-2192 > URL: https://issues.apache.org/jira/browse/COCOON-2192 > Project: Cocoon > Issue Type: Bug > Components: * Cocoon Core >Affects Versions: 2.1.11, 2.2 >Reporter: Steven Dolg >Assignee: Jörg Heinicke > Fix For: 2.1.12-dev (Current SVN), 2.2-dev (Current SVN) > > Attachments: CachingOutputStream.txt, CachingOutputStreamTest.txt > > > The method "public void write(byte b[], int off, int len)" does not cache all > relevant bytes to the internal buffer. > The method actually copies all "len" bytes to its internal buffer, but > increments the byte counter only by "len - off". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (COCOON-2192) CachingOutputStream does not cache all contents.
[ https://issues.apache.org/jira/browse/COCOON-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Dolg updated COCOON-2192: Attachment: CachingOutputStream.txt A patch that fixes the problem. > CachingOutputStream does not cache all contents. > > > Key: COCOON-2192 > URL: https://issues.apache.org/jira/browse/COCOON-2192 > Project: Cocoon > Issue Type: Bug > Components: * Cocoon Core >Affects Versions: 2.2-dev (Current SVN) >Reporter: Steven Dolg > Attachments: CachingOutputStream.txt, CachingOutputStreamTest.txt > > > The method "public void write(byte b[], int off, int len)" does not cache all > relevant bytes to the internal buffer. > The method actually copies all "len" bytes to its internal buffer, but > increments the byte counter only by "len - off". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (COCOON-2192) CachingOutputStream does not cache all contents.
[ https://issues.apache.org/jira/browse/COCOON-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steven Dolg updated COCOON-2192: Attachment: CachingOutputStreamTest.txt A patch with a unit test that demonstrates the problem. Relative to "core\cocoon-pipeline\cocoon-pipeline-impl". > CachingOutputStream does not cache all contents. > > > Key: COCOON-2192 > URL: https://issues.apache.org/jira/browse/COCOON-2192 > Project: Cocoon > Issue Type: Bug > Components: * Cocoon Core >Affects Versions: 2.2-dev (Current SVN) >Reporter: Steven Dolg > Attachments: CachingOutputStreamTest.txt > > > The method "public void write(byte b[], int off, int len)" does not cache all > relevant bytes to the internal buffer. > The method actually copies all "len" bytes to its internal buffer, but > increments the byte counter only by "len - off". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.