You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2010/12/14 17:38:31 UTC

DO NOT REPLY [Bug 50474] New: JUnit test as requested for updating embedded document.

https://issues.apache.org/bugzilla/show_bug.cgi?id=50474

           Summary: JUnit test as requested for updating embedded
                    document.
           Product: POI
           Version: 3.8-dev
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XWPF
        AssignedTo: dev@poi.apache.org
        ReportedBy: markbrdsly@tiscali.co.uk


Created an attachment (id=26402)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26402)
Archive containing java source for JUnit test along with .docx file.

As requested, a JUnit test demonstrating that the OutputStream recovered from
the PackagePart encapsulating a reference to an embedded document does not
write the changes made back to the PackagePart but results in an empty - zero
length - file.

Includes simple test file consisting of a WordprocessingML document into which
a binary Excel workbook has been embedded. The first four cells of row A of the
workbook's first sheet have been populated with data and the test code attempts
to modify the value in cell A1.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 50474] JUnit test as requested for updating embedded document.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50474

Yegor Kozlov <ye...@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Yegor Kozlov <ye...@dinom.ru> 2011-06-25 13:46:14 UTC ---
Thanks Mark,

I committed your example in r1139541

Yegor

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org