-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Transaction with delete then update should not fail #4831
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
Transaction with delete then update should not fail #4831
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #4831 +/- ##
============================================
+ Coverage 81.32% 83.13% +1.81%
- Complexity 23650 25326 +1676
============================================
Files 1425 1542 +117
Lines 86399 92373 +5974
Branches 11677 12321 +644
============================================
+ Hits 70265 76796 +6531
+ Misses 10947 10147 -800
- Partials 5187 5430 +243 ☔ View full report in Codecov by Sentry. |
…ub.com:jamesagnew/hapi-fhir into ja_20230505_transaction_with_delete_and_create
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great fixes!
hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirDao.java
Outdated
Show resolved
Hide resolved
hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirResourceDao.java
Outdated
Show resolved
Hide resolved
hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirResourceDao.java
Show resolved
Hide resolved
hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirResourceDao.java
Outdated
Show resolved
Hide resolved
hapi-fhir-jpaserver-model/src/main/java/ca/uhn/fhir/jpa/model/entity/ResourceTable.java
Show resolved
Hide resolved
hapi-fhir-jpaserver-model/src/main/java/ca/uhn/fhir/jpa/model/entity/ResourceTable.java
Outdated
Show resolved
Hide resolved
...r-jpaserver-test-r5/src/test/java/ca/uhn/fhir/jpa/dao/r5/FhirSystemDaoTransactionR5Test.java
Show resolved
Hide resolved
hapi-fhir-server/src/main/java/ca/uhn/fhir/rest/api/server/storage/TransactionDetails.java
Show resolved
Hide resolved
* Fixed * Test fixes * Add test * Ongoing work * Work on xactx * Cleanup * Changelog cleanup * Resolve fixme * Rework broken APIs * Version bump * Add license headers * License header update * License * rk on fixes * Test fixes * Address review comments * Test fixes * Add license headers * License header
Per this mailing list discussion: https://groups.google.com/d/msgid/hapi-fhir/8c53aa54-80e2-4616-bdb0-5bc47a50eb34n%40googlegroups.com?utm_medium=email&utm_source=footer
A transaction with a delete followed by an update on the same resource currently fails. This PR fixes that, and optimizes deletes a bit too.