Closed Bug 1726789 Opened 3 years ago Closed 3 years ago

[XFA & AcroForm] PDF saved with Firefox won't open in Adobe Reader

Categories

(Firefox :: PDF Viewer, defect, P1)

Desktop
All
defect

Tracking

()

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

People

(Reporter: danibodea, Assigned: calixte)

References

Details

Attachments

(9 files)

Note

  • When the user opens a specific PDF file in Firefox, inputs some data, saves it and opens it in Adobe Reader, he will notice that the PDF will display an error and won't open.

Affected versions

  • Beta v92.0b6

Affected platforms

  • all

Steps to reproduce

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

Expected result

  • The data input using the browser is displayed in Adobe Reader.

Actual result

  • The PDF will display an error and won't open.

Regression range

  • Not a regression.

Additional Information:

  • I do not know whether this should block bug 1706133. Remove the block if not necessary.
  • The input data is properly displayed if opened in Firefox again
  • This issue appears to be intermittent or it may be related to a specific data input; please refer to the error screenshots attached next.
  • Setting the S3 severity based on the last 2 paragraphs.
  • Also, please let me know if further testing is necessary.
Attached image error 1.png
Attached image error 2.png
Attached image warning 3.png

The saved version which shows the error.

The original PDF.

Priority: -- → P1

To confirm this only affects beta? I wasn't able to reproduce with Firefox 93.

Flags: needinfo?(daniel.bodea)

Hi, Brendan! I could only reproduce this once and didn't stubble upon it for too long considering the priority of other work.
I assumed it was some specific data I introduced in the PDF before saving it with Beta92.
I hoped you could determine what the specific information is by using the attachment in comment 4.

I'll do my best to determine the cause tomorrow.

Attached file try16.pdf

I can confirm it also reproduces on Nightly. I've opened the affected and original PDFs in Nightly and copy-pasted all information and saved it from nightly. It is still reproduced. Furthermore, I tried tracking the exact field that caused it by saving a few different PDFs with parts of the affected one's information, but it seems like it is not connected to a specific character introduced or field completed, but to a group of them...

I've erased as many fields to attempt to narrow down the least data in it before it stops reproducing and this is the last saved PDF I got. I really hope that the Adobe errors say something useful about the issue because I've hit a wall.

Flags: needinfo?(daniel.bodea) → needinfo?(bdahl)
Severity: S3 → S2

We need to decide whether this should block XFA, given that it is already affecting AcroForm too.

Summary: [XFA] PDF saved with Firefox won't open in Adobe Reader → [XFA & AcroForm] PDF saved with Firefox won't open in Adobe Reader
Assignee: nobody → cdenizet
Status: NEW → ASSIGNED
Flags: needinfo?(bdahl)
Commit merged into master by GitHub Authored by Brendan Dahl (brendandahl)
Depends on: 1729049
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
QA Whiteboard: [pdf_xfa_generic]
Depends on: 1741445
Target Milestone: --- → 94 Branch
Target Milestone: 94 Branch → 93 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: