Skip to content

Intercept erroneous widgets#4615

Merged
JorjMcKie merged 1 commit into
mainfrom
fix-bad-widgets
Jul 17, 2025
Merged

Intercept erroneous widgets#4615
JorjMcKie merged 1 commit into
mainfrom
fix-bad-widgets

Conversation

@JorjMcKie
Copy link
Copy Markdown
Collaborator

When copying widgets as part of insert_pdf() processing, badly defined source widgets cause MuPDF exceptions when building their grafted object version. This fix intercepts MuPDF exceptions and ignores such widgets.

Comment thread src/utils.py
Comment thread tests/test_4614.py Outdated
When copying widgets as part of insert_pdf() processing, badly defined source widgets cause MuPDF exceptions when building their grafted object version.
This fix intercepts MuPDF exceptions and ignores such widgets.
@JorjMcKie JorjMcKie merged commit 13f133f into main Jul 17, 2025
2 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 17, 2025
@JorjMcKie JorjMcKie deleted the fix-bad-widgets branch July 17, 2025 12:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants