Closed Bug 1717805 Opened 3 years ago Closed 3 years ago

Missing data from table

Categories

(Firefox :: PDF Viewer, defect, P1)

Firefox 91
Desktop
Windows 10
defect

Tracking

()

VERIFIED FIXED
Tracking Status
firefox90 --- disabled
firefox91 --- verified

People

(Reporter: rpopovici, Assigned: calixte)

References

Details

Attachments

(6 files)

Attached file table.pdf

Tested with:
Nightly 91.0a1 (2021-06-22)

Tested on:
Win 10

Preconditions:
In about:config, set pdfjs.enableXfa = true

Steps:

  1. Launch firefox
  2. Open the attached PDF

Actual result:
No data in table is displayed

Expected result:
A table with data should be displayed

No longer depends on: 1716293
Attached image Nightly.png
Attached image Adobe.png

There are 2 issues in this pdf:

  • the data (from dataset entry) are not correctly got because the root subform has no name when the root from data has one.
  • the elements in table are rendered thanks to tb layout but a keep element prevents the table to be splited on several pages but because that stuff is no correctly handled we've a infinite loop (which is broken at some point to avoid it).

Anyway the first issue is addressed in:
https://github.com/mozilla/pdf.js/pull/13618

Assignee: nobody → cdenizet
Status: NEW → ASSIGNED
Depends on: 1718101

This is still problematic, the only content in the PDF now is the American Film Institute Lists text.

Priority: -- → P1
Attached image 2021-06-29_15h59_27.png

Hi,
Also here the most of the text is missing.

:Alin Ilea, it's likely another problem.
Could file a new bug (same product/component) and attached the pdf ?

Flags: needinfo?(alin.ilea)

@Calixte, sure, here is the new bug for comment 6 issue:
https://bugzilla.mozilla.org/show_bug.cgi?id=1718725
Thanks!

Flags: needinfo?(alin.ilea)
Depends on: 1719380
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED

I can confirm the fix in Nightly v91.0a1 from 2021-07-07.

The table.pdf document displays even better than Adobe Reader.
(FYI comment 3, the table is properly split into pages, also.)

Status: RESOLVED → VERIFIED
QA Whiteboard: [pdf_xfa_generic]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: