mekomsolutions / openmrs-module-initializer

The OpenMRS Initializer module is an API-only module that processes the content of the configuration folder when it is found inside OpenMRS' application data directory.
MIT License
23 stars 79 forks source link

#277 - CSV parser should save cached objects once file has been loaded. #278

Closed alaboso closed 2 months ago

alaboso commented 2 months ago

Description of what I changed

The CSV parser should persist objects once files in a domain have been processed. Currently, there's a bug where the last Privilege isn't being persisted and this PR addresses it.

I have removed some Assertions in PaymentModesLoaderIntegrationTest as it references some attributes that have to be saved before.....We will work on refactoring the PaymentModeAttributeType domain

Issue I worked on

see https://openmrs.atlassian.net/browse/O3-3972

Checklist: I completed these to help reviewers :)