diff --git a/poi-ooxml/src/test/java/org/apache/poi/xslf/TestXSLFBugs.java b/poi-ooxml/src/test/java/org/apache/poi/xslf/TestXSLFBugs.java index c6d92c4c59..ea77de2ba0 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/xslf/TestXSLFBugs.java +++ b/poi-ooxml/src/test/java/org/apache/poi/xslf/TestXSLFBugs.java @@ -1104,4 +1104,13 @@ class TestXSLFBugs { assertEquals("Can't create extractor - unsupported file type: XML", ie.getMessage()); } + @Test + void bug65673() throws IOException { + try (XMLSlideShow slideShowModel = openSampleDocument("bug65673.pptx")) { + final XSLFSlide modelSlide = slideShowModel.getSlides().get(0); + try (XMLSlideShow newSlideShow = new XMLSlideShow()) { + newSlideShow.createSlide().importContent(modelSlide); + } + } + } } diff --git a/test-data/slideshow/bug65673.pptx b/test-data/slideshow/bug65673.pptx new file mode 100644 index 0000000000..cd29302c61 Binary files /dev/null and b/test-data/slideshow/bug65673.pptx differ