Skip to content

Conversation

@Muhammed-umer
Copy link

This PR fixes the issue where the openconceptlab.oclLoadAtStartupPath global property was saving absolute paths, causing issues when moving the application data directory.

Changes

  • Updated OpenConceptLabActivator.java to default to a relative path (ocl/configuration/loadAtStartup).
  • Added logic to migrate existing absolute paths to relative paths if they are within the application data directory.
  • Updated the startup logic to correctly resolve the relative path against OpenmrsUtil.getApplicationDataDirectory().

Ticket

https://issues.openmrs.org/browse/OCLOMRS-1106

@Muhammed-umer
Copy link
Author

Hi @dkayiwa / @mogoodrich , could you please approve the workflows so the build checks can run? I would like to verify that my changes pass the CI pipeline. Thanks!

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.

1 participant