Skip to content

Fix to allow canvas paintings with a short canvas id to output iiif properties#528

Merged
JackLewis-digirati merged 2 commits intodevelopfrom
fix/shortCanvasId
Jan 13, 2026
Merged

Fix to allow canvas paintings with a short canvas id to output iiif properties#528
JackLewis-digirati merged 2 commits intodevelopfrom
fix/shortCanvasId

Conversation

@JackLewis-digirati
Copy link
Copy Markdown
Collaborator

@JackLewis-digirati JackLewis-digirati commented Jan 12, 2026

Resolves #522
Resolves #526

Makes it so that short canvas id will correctly output IIIF properties by adding a fallback value

Note

This PR also fixes a masked issue around overrides not being correctly set in the background handler, and adds some additional logging

@JackLewis-digirati JackLewis-digirati changed the title Fix to allow canvas paintings with a short canvas id to output iiif p… Fix to allow canvas paintings with a short canvas id to output iiif properties Jan 12, 2026
@JackLewis-digirati JackLewis-digirati marked this pull request as ready for review January 13, 2026 09:07
@JackLewis-digirati JackLewis-digirati requested a review from a team as a code owner January 13, 2026 09:07
Comment thread src/IIIFPresentation/Services/Manifests/ManifestMerger.cs Outdated
Comment thread src/IIIFPresentation/BackgroundHandler/Program.cs Outdated
Comment thread src/IIIFPresentation/Repository/Paths/PathRewriteParser.cs Outdated
…roperties

-  Allows fallback for canvas id
- Adds in template options to the background handler
- Additional logging
- Simplify log message
- Extract method to simplify
- Add new shared config class
- Remove extraneous semicolon
@JackLewis-digirati JackLewis-digirati merged commit bc42269 into develop Jan 13, 2026
4 checks passed
@JackLewis-digirati JackLewis-digirati deleted the fix/shortCanvasId branch January 13, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Matching canvas loses standard IIIF values on background-handler completion Async processed Manifests lose IIIF Canvas properties if using short Id

2 participants