-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure Delete Expunge removes corresponding HFJ_RES_SEARCH_URL record…
…s for affected resources (#5940) * Delete HFJ_RES_SEARCH_URL record when delete expunging a resource. Add a new foreign key on RES_ID to HFJ_RESOURCE to HFJ_RES_SEARCH_URL. Add a migration task to set up the new FK. * Cleanup logging. * Fix unit test failures and ensure ResourceSearchUrlEntity is created with a ResourceTable. * Remove TODO. * Fix more unit tests. * Add more unit test assertions. * Add changelog. * Code review feedback. * Fix unit test failures due to lazy loading lack of session. * Reverse original code review feedback changes.
- Loading branch information
1 parent
97cfb6d
commit 0fe3380
Showing
10 changed files
with
121 additions
and
23 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
.../uhn/hapi/fhir/changelog/7_4_0/5942-delete-expunge-targeted-doesnt-delete-search-url.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
type: fix | ||
issue: 5942 | ||
title: "Delete expunge targeted to resources (not everything) that were created with IfNoneExists URL followed by | ||
recreation of said resources was failing with HAPI-0550 due to the fact that the corresponding search url | ||
records were not being deleted. | ||
This has been fixed." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters