Bug 58663 - Pictures cannot be removed from a slide
Summary: Pictures cannot be removed from a slide
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: XSLF (show other bugs)
Version: 3.13-FINAL
Hardware: All All
: P2 major (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-27 13:42 UTC by Aurélien
Modified: 2015-11-29 10:32 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aurélien 2015-11-27 13:42:37 UTC
XSLFSlide.removeShape(XSLFPictureShape) generate an exception : java.lang.IllegalArgumentException: Unsupported shape: org.apache.poi.xslf.usermodel.XSLFPictureShape@2667f029

Moreover this issue is a blocker since there is not any workaround to remove a picture from a slide.

This issue is created after the stackoverflow question : http://stackoverflow.com/questions/13958950/removing-an-image-from-ppt-apache-poi
Comment 1 Andreas Beeker 2015-11-29 00:52:51 UTC
Fixed with r1717018

Sometimes stackoverflow is the wrong place to report bugs ...
Comment 2 Aurélien 2015-11-29 10:32:05 UTC
(In reply to Andreas Beeker from comment #1)
> Fixed with r1717018
> 
> Sometimes stackoverflow is the wrong place to report bugs ...

Thank you Andreas, you have been really fast to address and resolve this issue!

And sure, stackoverflow is not the place to report bugs :)