For 'Locked' PDF file, it does not return the reason of parsing error
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2.2k
- Forks
- 394
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 7
Description
parser.on("pdfParser_dataError", function(dataError) {
// ....
// dataError.parserError
});
dataError.parseError is 'undefined' when 'locked (password protected)' PDF file is used
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the pdfParser_dataError event and trace how parserError is populated for locked or password-protected PDFs. Confirm the existing behavior with a locked PDF, then make the parsing error reason available through dataError.parserError; done means the event reports a non-undefined reason.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100