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

NotTransactional not working correctly

    XMLWordPrintable

    Details

    • Complexity:
      Medium

      Description

      There is some problem with @NotTransactional. To reproduce see a fix in 1.9.x https://github.com/openmrs/openmrs-core/commit/7297fb32adbabf34da94a1305c8029621f5c12a9 which works and a fix in 1.11.x https://github.com/openmrs/openmrs-core/commit/0c7564b3ea57d6bec6fe0d31c9b4c08836bd6043 which fails and needed to be changed to https://github.com/openmrs/openmrs-core/commit/a04064ff010342b4c81eba33e4c72b42ce3c869f

      Note that @NotTransactional is deprecated now and we should provide a way to write non transactional tests that do not use this annotation.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              raff Rafal Korytkowski
              Reporter:
              raff Rafal Korytkowski
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified