Closed Bug 1723734 Opened 3 years ago Closed 3 years ago

[XFA] Selections of checkboxes or radio buttons are not saved (or shown) correctly

Categories

(Firefox :: PDF Viewer, defect, P1)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
92 Branch
Tracking Status
firefox-esr91 --- fixed
firefox90 --- disabled
firefox91 --- disabled
firefox92 --- verified
firefox93 --- verified

People

(Reporter: danibodea, Assigned: calixte)

References

Details

Attachments

(4 files)

Note

  • When the user loads a specific PDF file in Adobe Reader, selects some radio buttons, and then saves it and reopens it, he will notice that the radio button selections previously made are not being show.

Affected versions

  • Nightly v92.0a1

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 issue does not occur on all the radio buttons, but specifically on that set.

Can you check if these fields have names? If they don't, please resolve this as duplicate of bug 1722499.

Flags: needinfo?(cdenizet)

These buttons with a name are inside an area element which is not visited during binding.

Assignee: nobody → cdenizet
Severity: S3 → S2
Status: NEW → ASSIGNED
Flags: needinfo?(cdenizet)
Priority: -- → P1
Commit merged into master by GitHub Authored by Brendan Dahl (brendandahl)
Depends on: 1724461

Not sure it's related, but if I check a checkbox once, it remains checked when I save (close and reopen) the form, even if I unchecked it before saving the form.

Tested with this form and the first two checkboxes:
[ ] Declaraţie depusă după anularea rezervei verificării ulterioare
[ ] Declaraţie depusă potrivit art.90 alin.(4) din Legea nr.207/2015 privind Codul de Procedură fiscală

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

I have verified the fix of the original steps in Nightly v93.0a1 and Beta v92.0b5.
Furthermore, I have logged the mentioned bug in comment 6: bug 1726381.

Status: RESOLVED → VERIFIED
QA Whiteboard: [pdf_xfa_generic]
Depends on: 1741445
Target Milestone: --- → 93 Branch
Target Milestone: 93 Branch → 92 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: