Return-Path: X-Original-To: apmail-poi-dev-archive@www.apache.org Delivered-To: apmail-poi-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 81F014467 for ; Wed, 11 May 2011 23:10:10 +0000 (UTC) Received: (qmail 90444 invoked by uid 500); 11 May 2011 23:10:10 -0000 Delivered-To: apmail-poi-dev-archive@poi.apache.org Received: (qmail 90419 invoked by uid 500); 11 May 2011 23:10:10 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 90411 invoked by uid 99); 11 May 2011 23:10:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 May 2011 23:10:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 May 2011 23:10:07 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id DD755484E8; Wed, 11 May 2011 23:09:27 +0000 (UTC) From: bugzilla@apache.org To: dev@poi.apache.org Subject: DO NOT REPLY [Bug 51187] New: Opening and saving PPTX with specific image corrupts file (Power point will no longer open) Date: Wed, 11 May 2011 23:09:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: POI X-Bugzilla-Component: XSLF X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: thyde@centraldesktop.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@poi.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=51187 Bug #: 51187 Summary: Opening and saving PPTX with specific image corrupts file (Power point will no longer open) Product: POI Version: 3.8-dev Platform: PC Status: NEW Severity: normal Priority: P2 Component: XSLF AssignedTo: dev@poi.apache.org ReportedBy: thyde@centraldesktop.com Classification: Unclassified Created attachment 26986 --> https://issues.apache.org/bugzilla/attachment.cgi?id=26986 File that will be corrupted if you open and save it. Executing this code against the attached file will create a file that is unreadable PPT. The PPT contains only a single small image. OPCPackage docPackage = OPCPackage.openOrCreate(input); File output = File.createTempFile("office-ooxml-",null); System.out.println(output.getCanonicalPath()); docPackage.save(output); Same was true for 3.7 vs 3.8-beta2 In ppt/slides/_rels/slide1.xml.rels I notedd that the target on rId3 went from slide1.xml on the good version to "" on the bad. Could be more material differences, I just didn't notice. -- 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