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

throw an error when retrieving form fields from a pdf #1635

Open
2 tasks done
codati opened this issue Jun 7, 2024 · 0 comments
Open
2 tasks done

throw an error when retrieving form fields from a pdf #1635

codati opened this issue Jun 7, 2024 · 0 comments

Comments

@codati
Copy link

codati commented Jun 7, 2024

What were you trying to do?

list the fields of a pdf

How did you attempt to do it?

getFrom and getFields

What actually happened?

throw error
Error: Expected instance of PDFName, but got instance of undefined

What did you expect to happen?

list the fields of a pdf

How can we reproduce the issue?

pdf-bug.zip

npm i
node index.js

Version

1.17.1

What environment are you running pdf-lib in?

Node

Checklist

  • My report includes a Short, Self Contained, Correct (Compilable) Example.
  • I have attached all PDFs, images, and other files needed to run my SSCCE.

Additional Notes

my problem seems similar to #1005

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

No branches or pull requests

1 participant