Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XFA Not honoring blank value for choiceList #13580

Closed
JDziurlaj opened this issue Jun 17, 2021 · 9 comments · Fixed by #13645
Closed

XFA Not honoring blank value for choiceList #13580

JDziurlaj opened this issue Jun 17, 2021 · 9 comments · Fixed by #13645
Assignees
Labels

Comments

@JDziurlaj
Copy link

Attach (recommended) or Link to PDF file here:
expenseReportDynamic.pdf

  • Web browser and its version: Firefox 89.0
  • Operating system and its version: Windows 10 10.0.19043.1052
  • PDF.js version: commit 5d251a3
  • Is a browser extension: No

Steps to reproduce the problem:

  1. Enable XFA support
  2. Open form

What is the expected behavior? (add screenshot)
SmartDoc Client dropdown list (choiceList) should be blank.
image

What went wrong? (add screenshot)
SmartDoc Client dropdown list (choiceList) defaults to first item/text
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
image

@symtalha14
Copy link
Contributor

Can you please assign this to me?

@calixteman
Copy link
Contributor

Sorry it's already fixed by:
1de133a

@symtalha14
Copy link
Contributor

Ohh, I saw it open

@calixteman
Copy link
Contributor

It's because there is bug here too: https://bugzilla.mozilla.org/show_bug.cgi?id=1718241

@schmitch
Copy link

actually I still have a xfa pdf where it renders incorrect. sadly I can't share it. (Firefox 93 macOS and PDF.JS 2.10.377 and 2.11.338).
sadly we also have no way of creating these, but the document was created with Adobe LiveCycle Designer 8.0.

@calixteman
Copy link
Contributor

@schmitch, if it's possible, could you uncompress the pdf using qpdf (see https://github.com/qpdf/qpdf/releases):

qpdf --stream-data=uncompress your.pdf another.pdf

then you can open the resulting pdf in a text editor and replace confidential stuff with some XXX (e.g. replace foobar by XXXXXX (same number of letters)).

@schmitch
Copy link

@calixteman unfortunatly the pdf is so big, that this is basically a non-option. we are still awaiting a response from our customer to have a more simple pdf which can reproduce the issue.

@calixteman
Copy link
Contributor

Some people already sent me some pdfs on my pro email (I'm a mozilla employee), so you can send it to me if you want (calixte AT my company com).

@schmitch
Copy link

ok I will, I just wait for the clearing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants