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

Affected Issue(s): #611 #617

Merged

Conversation

muhammad-levi
Copy link
Contributor

@muhammad-levi muhammad-levi commented Dec 1, 2023

This will close #611 if merged.

What this commit has achieved:

  1. MDM requires an implementation of INicknameSvc, it was instantiated in NicknameServiceConfig
    The error message regarding this was:
APPLICATION FAILED TO START

Description:

Parameter 2 of method matcherFactory in ca.uhn.fhir.jpa.mdm.config.MdmCommonConfig required a bean of type 'ca.uhn.fhir.jpa.nickname.INicknameSvc' that could not be found.

Action:

Consider defining a bean of type 'ca.uhn.fhir.jpa.nickname.INicknameSvc' in your configuration.
  1. MDM requires the subscription of type message
    The error message regarding this was:
2023-12-01 11:34:03 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mdmSubmitterInterceptorLoader': Invocation of init method failed; nested exception is ca.uhn.fhir.context.ConfigurationException: HAPI-2421: MDM requires Message Subscriptions to be enabled in the Storage Settings

What this commit has achieved:
1. MDM requires an implementation of `INicknameSvc`, it was instantiated
in `NicknameServiceConfig`
The error message regarding this was:
```
APPLICATION FAILED TO START

Description:

Parameter 2 of method matcherFactory in
ca.uhn.fhir.jpa.mdm.config.MdmCommonConfig required a bean of type
'ca.uhn.fhir.jpa.nickname.INicknameSvc' that could not be found.

Action:

Consider defining a bean of type 'ca.uhn.fhir.jpa.nickname.INicknameSvc'
in your configuration.
```
2. MDM requires the subscription of type message
The error message regarding this was:
```
2023-12-01 11:34:03
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'mdmSubmitterInterceptorLoader': Invocation of init
method failed; nested exception is
ca.uhn.fhir.context.ConfigurationException: HAPI-2421: MDM requires
Message Subscriptions to be enabled in the Storage Settings
```
@muhammad-levi muhammad-levi changed the title Affected Issue(s): https://github.com/hapifhir/hapi-fhir-jpaserver-starter/issues/611 Affected Issue(s): #611 Dec 1, 2023
What this commit has achieved:
1. Added Integration Test for future-proof
@jkiddo jkiddo merged commit 41a537e into hapifhir:master Dec 4, 2023
3 checks passed
@muhammad-levi muhammad-levi deleted the bug/fail-to-start-if-mdm-activated branch February 22, 2024 02:42
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.

HAPI FHIR JPA Server version >= 6.8.0 fails to start when MDM is enabled
2 participants