Issue 105387 - selecting background-template gives general IO error in new presentation dialog/reported as corrupted when loading manually
Summary: selecting background-template gives general IO error in new presentation dial...
Alias: None
Product: Impress
Classification: Application
Component: open-import (show other issues)
Version: DEV300m60
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 3.2
Assignee: wolframgarten
QA Contact: issues@graphics
Keywords: crash, oooqa, regression
: 105371 105931 (view as issue list)
Depends on:
Blocks: 104695
  Show dependency tree
Reported: 2009-09-26 22:21 UTC by lohmaier
Modified: 2010-01-06 19:51 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description lohmaier 2009-09-26 22:21:01 UTC
Some presentation backgrounds (not all) give a general error when selected in
the "new presentation with template" dialog.

Opening the files manually gives the "document is corrupted and therefore cannot
be opened" dialog, when allowing to repair, it is loaded without problem.

To reproduce:

* File|New → Presentation
* select "from template"
* switch from "Presentations" to "Presentation Backgrounds" in the listbox
* select the "wine" or "water" or "forest" or .... entry
  You'll get this much-telling <sigh/> error message:
"Error loading the template
 General Error"

* Manually load the corresponding lyt-wine.otp from the OOo installation via
File|Open / double-click in File Manager or similar

( basis-link/share/template/en-US/layout/lyt-wine.otp )
You'll get the "The file 'lyt-wine.otp' is corrupted and therefore cannot be
opened. OOo can try to repair ...." Dialog


When trying to assign the background via the right task-pane in an empty
presentation (the task-pane displays a correct preview of the style), OOo sucks
100% cpu and has to be killed.

regression (m56 and OOo 3.1.1 open the presentations without problem, without
corruption warning) and freeze, thus P2
Comment 1 lohmaier 2009-09-26 22:22:36 UTC
setting keywords

See also issue 105382 for another 100%-CPU-freeze-on--open problem. Maybe
related, maybe not
Comment 2 wolframgarten 2009-09-28 09:30:15 UTC
Reproducible. Reassigned.
Comment 3 clippka 2009-09-28 15:08:43 UTC
cl->mav: problem is that content.xml has odf version 1.2 but manifest.xml has no
odf version so we get a SaxExcepton from SvXMLImport::startElement.

The document where created with a ooo300m10 version so it looks like we had a
bug there
Comment 4 mikhail.voytenko 2009-09-30 10:28:52 UTC
Fixed in fwk121. It is now allowed to have no ODF version in manifest.xml even
for ODF1.2.
Comment 5 mikhail.voytenko 2009-09-30 10:32:38 UTC
*** Issue 105371 has been marked as a duplicate of this issue. ***
Comment 6 mikhail.voytenko 2009-09-30 14:23:43 UTC
mav->wg: Please verify the issue. Please remember that the fix for issue 105382
is not in this cws, so after creation the new presentation will hang.
Comment 7 Frank Schönheit 2009-09-30 19:53:42 UTC
*** Issue 105371 has been marked as a duplicate of this issue. ***
Comment 8 stefan.baltzer 2009-10-05 13:44:01 UTC
Verified in CWS fwk_121.
Comment 9 clippka 2009-10-19 12:54:22 UTC
*** Issue 105931 has been marked as a duplicate of this issue. ***
Comment 10 andreschnabel 2010-01-06 19:51:02 UTC
ok in OOo3.2RC1