-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Describe the bug
When partitioning is enabled in the JPAServer Starter project and a package is installed using PackageInstallationSpec.InstallModeEnum.STORE_AND_INSTALL, the following error occurs:
HAPI-1286: Error installing IG de.basisprofil.r4#1.5.4: ca.uhn.fhir.rest.server.exceptions.InternalErrorException: HAPI-1315: System call is attempting to write a non-partitionable resource to a partition! This is a bug!
This issue occurs because the partition is not populated during the package installation process, leading to the error when attempting to write a non-partitionable resource to a partition.
To Reproduce
Steps to reproduce the behavior:
Enable partitioning in the JPAServer Starter project.
Install a package with PackageInstallationSpec.InstallModeEnum.STORE_AND_INSTALL, containing a relevant resource, e.g. CodeSystem
Expected behavior
The package should be installed successfully without errors into the default partition.
Environment (please complete the following information):
- HAPI FHIR Version: 8.4.0
Additional context
Add any other context about the problem here.