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

FIX: PDF Message offsets #946

Merged
merged 1 commit into from
Aug 22, 2024
Merged

FIX: PDF Message offsets #946

merged 1 commit into from
Aug 22, 2024

Conversation

carlwilson
Copy link
Member

@carlwilson carlwilson commented Aug 22, 2024

  • combined handling of all PDFException subclasses into a single PDFException handler for PdfModule.addDestination method;
  • added offest and null property recording to the exception handler;
  • stopped double logging of PDF-HUL-149 by simply throwing the exception rather than adding it to errors list and throwing it;
  • added straggling test corpora files; and
  • updated test script to copy affected PDFs.

Closes #940

- combined handling of all PDFException subclasses into a single `PDFException` handler for `PdfModule.addDestination` method;
- added offest and null property recording to the exception handler;
- stopped double logging of `PDF-HUL-149` by simply throwing the exception rather than adding it to errors list and throwing it;
- added straggling test corpora files; and
- updated test script to copy affected PDFs.
@carlwilson carlwilson self-assigned this Aug 22, 2024
@carlwilson carlwilson added the bug A product defect that needs fixing label Aug 22, 2024
@carlwilson carlwilson added this to the JHOVE 1.32 milestone Aug 22, 2024
@carlwilson carlwilson merged commit 81ed6b0 into integration Aug 22, 2024
6 checks passed
@carlwilson carlwilson deleted the fix/pdf-message-offsets branch August 22, 2024 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A product defect that needs fixing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing offsets with pdf-hul 1.12.6 / problems with backwards compatability of error messages
1 participant