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 missing resource when dropping a datastore #4343

Merged
merged 3 commits into from
Nov 20, 2024

Conversation

paul-m
Copy link
Contributor

@paul-m paul-m commented Nov 17, 2024

Fixes #4340

Describe your changes

Checks whether the resource could be loaded before sending it as an event.

This probably speaks to a larger issue where our resource mapper and the resources they map get out of sync.

There might also be a better way to generate a DataResource object to add to the event than to use the localizer.

QA Steps

  • Add manual QA steps in checklist format for a reviewer to perform. Be as specific as possible, provide examples if appropriate.

Checklist before requesting review

If any of these are left unchecked, please provide an explanation

  • I have updated or added tests to cover my code
  • I have updated or added documentation

@paul-m paul-m linked an issue Nov 17, 2024 that may be closed by this pull request
@paul-m paul-m marked this pull request as ready for review November 19, 2024 16:55
@janette janette merged commit 61e73f4 into 2.x Nov 20, 2024
11 checks passed
@janette janette deleted the 4340-handle-missing-resource-when-dropping-a-datastore branch November 20, 2024 18:12
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.

Handle missing resource when dropping a datastore
2 participants