Bug 357741

Summary: After saving a PDF with a completed form, opening the original PDF also shows the completed form
Product: [Applications] okular Reporter: Harald Brennich <harald.brennich>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aacid
Priority: NOR    
Version: 0.21.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Harald Brennich 2016-01-09 15:41:31 UTC
After entering data into a form and saving the file (with a new name), when opening the original file the modified form is shown.

Reproducible: Always

Steps to Reproduce:
1. Download a PDF containing a form, for instance "http://www.finanzamt.bayern.de/Informationen/Formulare/Weitere_Themen_A_bis_Z/Erbschaft-_und_Schenkungsteuer/Ab_2009/Erbschaftsteuererklarung-SEPA.pdf"
2. Open the PDF and enter some data into the form
3. Save the file with another name
4. Open the original file


Actual Results:  
 The modified form is shown

Expected Results:  
The original form should be shown

There is a workaround: Remove the the references to the original file from .kde4/share/apps/okular/docdata/
Comment 1 Albert Astals Cid 2016-01-11 22:39:50 UTC

*** This bug has been marked as a duplicate of bug 267350 ***
Comment 2 Harald Brennich 2016-01-12 08:37:00 UTC
These two bugs may be related, but they are not the same. Bug 267350 finds fault with the storing of data in a cache. 
This bug finds fault with the retrieval of modified data from a cache although the user wants to open the unmodified PDF document.
Comment 3 Albert Astals Cid 2016-01-12 23:25:00 UTC
It is the same bug as it will be fixed by the same code change.