[XFA] Some field data is lost when saving a completed PDF
Categories
(Firefox :: PDF Viewer, defect)
Tracking
()
People
(Reporter: danibodea, Unassigned)
References
(Depends on 1 open bug)
Details
(Whiteboard: [pdfjs-form-xfa])
Attachments
(2 files)
Note
- When the user loads a specific PDF file, inputs data in all fields, then saves it, and reopens it, he will notice that some input data is lost.
Affected versions
- Nightly v91.0 RC
Affected platforms
- all
Steps to reproduce
- Launch browser.
- Flip "pdfjs.enableXfa" to true.
- Load the attached PDF file.
- Make selections of the radio buttons shown in the demo pic.
- Save the PDF file.
- Reopen it.
Expected result
- The radio button selections are properly displayed.
Actual result
- The radio button selections are not shown.
Regression range
- Not a regression.
Additional information
- This PDF form appears to have been saved previously and new or other information can not be overwritten. Not sure whether this bug is really valid.
Reporter | ||
Comment 1•3 years ago
|
||
Comment 2•3 years ago
|
||
Calixte, is this a duplicate of bug 1722499?
Marking as S3 since the user can print the form to save it as filled.
Updated•3 years ago
|
Comment 3•3 years ago
|
||
I checked few unsaved fields and all the elements have a property <bind match="none"/>
which means (XFA specs: https://www.pdfa.org/norm-refs/XFA-3_3.pdf#page=176)
none
The node representing the enclosing element is transient. It will not be bound to any node in the
XFA Data DOM.
It isn't really a dup of bug 1722499 because here the fields are named but I'd say it's a feature... (or likely a bad design).
I guess that from a user perspective it's likely a bug so it could be a kind of dup of bug 1722499 finally because the work to achieve to fix bug 1722499 is the same to fix this one.
Comment 4•3 years ago
|
||
I'll mark it as depending on bug 1722499, so we can confirm this is fixed once (and if) we fix 1722499.
Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
Description
•