Bug 1673198 - PDF export not possible to overwrite opened PDF
Summary: PDF export not possible to overwrite opened PDF
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: libreoffice
Version: 29
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Caolan McNamara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-06 22:18 UTC by Esteban DUGUEPEROUX
Modified: 2019-02-07 14:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-07 12:30:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Image to reproduce the case (4.18 KB, image/png)
2019-02-06 22:18 UTC, Esteban DUGUEPEROUX
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Document Foundation 103947 0 None None None 2019-02-07 14:45:07 UTC

Description Esteban DUGUEPEROUX 2019-02-06 22:18:24 UTC
Created attachment 1527707 [details]
Image to reproduce the case

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Download http://www.compostri.fr/wp-content/uploads/2015/06/Distribution-compost-A46.pdf
2. Open it using libreoffice : #libreoffice Distribution-compost-A46.pdf
3. Insert the attached image
4. Try to export to PDF to the same file => KO
A OK popup displaying following message appears:

"Error saving the document Distribution-compost-A46.pdf:
General Error.
General input/output error."

And the following message is displayed only once for all attempt:

func=xmlSecCheckVersionExt:file=xmlsec.c:line=188:obj=unknown:subj=unknown:error=19:invalid version:mode=abi compatible;expected minor version=2;real minor version=2;expected subminor version=25;real subminor version=26



Additional info:
If I save to .odt and attempt PDF export again, it works.

Comment 1 Caolan McNamara 2019-02-07 10:24:26 UTC
This apparently was done deliberately in 2007, https://bz.apache.org/ooo/show_bug.cgi?id=81437 but without much explanatory notes

Comment 2 Caolan McNamara 2019-02-07 10:32:18 UTC
So, it is possible to change this back, e.g. with https://gerrit.libreoffice.org/#/c/67491/ but I wonder if that is actually a good idea or not

Comment 3 Caolan McNamara 2019-02-07 12:30:08 UTC
I've reverted the restriction in upstream master to experiment if there was a proper reason for the restriction in the first place


Note You need to log in before you can comment on or make changes to this bug.