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

Handle logical file uris with no related physical file information #114

Merged
merged 3 commits into from
Sep 20, 2024

Conversation

piemonkey
Copy link
Collaborator

I'm not sure how, but we have some ext:VersionedNotulen in production, with a prov:generated logical file uri, but that logical file has no other triples linking to it, so there's therefore no way to find a physical file uri (if one exists), so no way to fetch the file. This handles this case by recreating a new file and storing it correctly.

This flow is close to the previous flow, but since we've fixed the query, we're actually now requesting the file contents twice, once on VersionedNotulen.query() and once on signVersionedNotulen(). I started refactoring this out, but think this larger change should wait and we should push out this smaller fix to production asap.

@abeforgit abeforgit merged commit 46d3bac into master Sep 20, 2024
1 check passed
@abeforgit abeforgit deleted the fix/signing-fail branch September 20, 2024 15:01
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.

2 participants