Details
-
Bug
-
Status: Closed
-
Should
-
Resolution: Fixed
-
None
-
None
-
None
Description
When upgrading OpenMRS versions before 1.10 to 2.x, you get this error message:
???There was an error while updating the database to the latest. file: liquibase-update-to-latest.xml. Error: Migration failed for change set liquibase-update-to-latest.xml::201401101647-TRUNK-4187::wyclif:??? ??? liquibase-update-to-latest.xml : Service not found: interface org.openmrs.messagesource.MessageSourceService??? Unable to update the database. See server error logs for the full stacktrace. ??? Caused By: Precondition Error??? ??? Reason: ??? ???:???
Which is caused by the fact that UpgradeUtil uses an APIException constructor that calls Context.getMessageSourceService().getMessage() which fails because spring is not yet set up.
Gliffy Diagrams
Attachments
Issue Links
- is related to
-
TRUNK-5180 MessageSourceService not found on startup in APIException
-
- Closed
-