Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-5326

Rollback when trying to install MDS package on Core 2.1.x

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Design
    • Priority: TBD
    • Resolution: Unresolved
    • Affects Version/s: Platform 2.1.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      I'm seeing the following error when trying to import the attached MDS package:

       

      org.openmrs.module.metadatasharing.task.TaskException: Task failed
      at org.openmrs.module.metadatasharing.task.Task.log(Task.java:125)
      at org.openmrs.module.metadatasharing.task.TaskEngine$RunnableTask.run(TaskEngine.java:127)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: org.openmrs.module.metadatasharing.task.TaskException: Task failed
      ... 4 more
      Caused by: org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only
      at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:720)
      at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:515)
      at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:291)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
      at com.sun.proxy.$Proxy292.executeTask(Unknown Source)
      at org.openmrs.module.metadatasharing.task.TaskEngine$RunnableTask.run(TaskEngine.java:124)
      ... 3 more

       

      (will try to add more details, just creating this now so I have a place to upload the zip for others to test)

       

      fyi Rafal Korytkowski

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            mogoodrich Mark Goodrich
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: