https://bz.apache.org/bugzilla/show_bug.cgi?id=57835

--- Comment #1 from Nicolas Cailloux <[email protected]> ---
I also experience this bug. 
It seems POI succeeds in copying object, but fails in the type. 
Calling "getShapeName" results in the same name, but when trying to convert,
here is what it says: 
org.apache.poi.POIXMLDocumentPart cannot be cast to
org.apache.poi.xslf.usermodel.XSLFChart
org.apache.poi.xslf.usermodel.XSLFPictureData cannot be cast to
org.apache.poi.xslf.usermodel.XSLFChart

Good news: the generated XML for the new chart object is the same as the
original XML. 
The relation ID is the same (in my case, "rId2"). 

However, when checking in relations file for the slide, "rId2" is not bound to
a chart anymore, but to an image. 
Also, some relations are simply missing. 

This seems to be a bug about relationships.

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