Skip to content

Conversation

@Mwanje
Copy link
Collaborator

@Mwanje Mwanje commented Apr 16, 2025

@Mwanje Mwanje requested a review from slubwama April 16, 2025 07:27

<bean id="locationTypeTranslator" class="org.openmrs.module.fhir2.api.translators.impl.LocationTypeTranslatorImpl"/>

<bean id="org.openmrs.module.ugandaemrsync.tasks.SendAnalyticsDataToCentralServerTask"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Mwanje how does this get this auto started by declaring it as a bean.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@slubwama OpenMRS module doesn't always auto-register beans unless the Spring configuration is properly set. without it, OpenMRS won’t be able to instantiate the class during task scheduling.

@slubwama
Copy link
Collaborator

@Mwanje next time make Pr from your own fork to avoid growing branches in the repo

@slubwama slubwama merged commit 16c2ac8 into master Apr 17, 2025
1 check passed
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.

2 participants