hapi-fhir icon indicating copy to clipboard operation
hapi-fhir copied to clipboard

fix(7248): BaseHapiFhirResourceDao.readEntity fails with NullPointerException hen doing a versioned read of a resource that was just expunged, until the PID is expired in the "forced id" memory cache after 1 minute

Open ttnTrifork opened this issue 3 months ago • 5 comments

closes https://github.com/hapifhir/hapi-fhir/issues/7251

ttnTrifork avatar Sep 11 '25 15:09 ttnTrifork

Formatting check succeeded!

robogary avatar Sep 11 '25 15:09 robogary

Thanks @tadgh for approving!

Approved pending a changelog in 8_8_0

Do you mean I have to do something? or that you are waiting for the 8.8 change log file to be created, so you can add a changelog for his fix?

ttnTrifork avatar Oct 31 '25 10:10 ttnTrifork

@ttnTrifork Ill help you out Monday

jkiddo avatar Oct 31 '25 11:10 jkiddo

Ah, specifically if you would like to create a changelog in the hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/8_8_0 directory. You can follow the changelog template from 8_6_0 as there are no changelogs in 8_8_0 yet. Here's a potential one you could just copy and paste if you like:

---
type: fix
issue: 7248
title: "Previously, if a VREAD of a resource was performed on a resource that had just been expunged, a NullPointerException was thrown if the resource ID was still cached. This has been corrected. Thanks to  @ttnTrifork for the contribution!"

tadgh avatar Oct 31 '25 15:10 tadgh

@tadgh I added a change log. Can we merge this now?

ttnTrifork avatar Dec 05 '25 12:12 ttnTrifork