Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-18876

Tests with CLASS granularity must acquire the session in a transaction

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.10-HF04, 8.2
    • Component/s: Tests

      Description

      If a test has @RepositoryConfig(cleanup = Granularity.CLASS) then the injected session is created outside a transaction, which causes issues down the line (see NXP-18875).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: