Closed Bug 1729971 Opened 3 years ago Closed 3 years ago

[XFA] PDF form saved in Firefox appears corrupted in Adobe Reader

Categories

(Firefox :: PDF Viewer, defect, P1)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
94 Branch
Tracking Status
firefox-esr78 --- disabled
firefox-esr91 --- fixed
firefox92 --- disabled
firefox93 --- verified
firefox94 --- verified

People

(Reporter: danibodea, Assigned: calixte)

References

Details

Attachments

(6 files)

Note

  • When the user opens a specific PDF file in Firefox, inputs some data, saves it and then opens it in Adobe Reader, he will notice that the saved PDF is now corrupted.
    The message displayed in Adobe Reader: "There was an error opening this document. There was a problem reading this document (135)."

Affected versions

  • Beta v93.0b2

Affected platforms

  • all

Steps to reproduce

  1. Launch browser.
  2. Load the attached PDF file.
  3. Input some data in any field.
  4. Save the document (CTRL+S)
  5. Open the document in Adobe Reader.

Expected result

  • Document is properly displayed in Adobe Reader along with the previously input data.

Actual result

  • Adobe reader shows an error message and does not open the PDF form.

Regression range

  • Not a regression.

Additional Information:

  • The input data is properly displayed if opened in Firefox again.
  • I do not know whether this should block bug 1706133. Remove the block if not necessary.
  • The document gets corrupted even if the only completed field is the first field.

Another example with the same issue. This is the blank document; attaching the corrupted file below.

Attached file corrupted document.pdf

It's because the AcroForm dictionary contains a boolean value which is not handled at all in the pdf writer.

Assignee: nobody → cdenizet
Status: NEW → ASSIGNED
Priority: -- → P1
Commit merged into master by GitHub
Authored by Jonas Jenwald (Snuffleupagus)
Depends on: 1730725
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
QA Whiteboard: [pdf_xfa_generic]
Depends on: 1741445
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: