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

Yegor Kozlov <[email protected]> changed:

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

--- Comment #3 from Yegor Kozlov <[email protected]> ---
Thanks for this, I applied your patch in r1393992 with some tweaks. The problem
with null anchors was generic - when reading from a existing drawing all shapes
had null anchor: pictures, text boxes, lines, etc. So the fix should apply to
all shapes, not only to pictures.


> Update function: public XSSFPictureData getPictureData()
> Changes: Before looping to find the part in the drawing.relations
> collection, use getDrawing().getRelationById(blipId) to find the docPart. 
> Doing this because seems sometimes the part.getPackageRelationship().getId()
> return a wrong relation Id.
> 


Can you upload a unit test demonstrating that
part.getPackageRelationship().getId() can be wrong ? 

Yegor

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to