Open Bug 1723822 Opened 3 years ago Updated 3 years ago

[XFA] Some field data is lost when saving a completed PDF

Categories

(Firefox :: PDF Viewer, defect)

Desktop
All
defect

Tracking

()

Tracking Status
firefox-esr78 --- disabled
firefox90 --- disabled
firefox91 --- affected
firefox92 --- affected

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

  1. Launch browser.
  2. Flip "pdfjs.enableXfa" to true.
  3. Load the attached PDF file.
  4. Make selections of the radio buttons shown in the demo pic.
  5. Save the PDF file.
  6. 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.
Priority: -- → P1

Calixte, is this a duplicate of bug 1722499?

Marking as S3 since the user can print the form to save it as filled.

Flags: needinfo?(cdenizet)
Severity: S1 → S3
Priority: P1 → --

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.

Flags: needinfo?(cdenizet)

I'll mark it as depending on bug 1722499, so we can confirm this is fixed once (and if) we fix 1722499.

No longer blocks: pdf-xfa
Depends on: 1722499
QA Whiteboard: [pdf_xfa_generic]
Whiteboard: [pdfjs-form-xfa]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: