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

Tenant directory order is not fixed under Oracle

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6-RC1
    • Fix Version/s: 5.6-RC2, 5.6
    • Component/s: Multitenancy support

      Description

      This code incorrectly assumes that getting values from a directory without sorting returns entries in a fixed order:

      org.junit.ComparisonFailure: expected:<[newD]omain> but was:<[default-d]omain>
      	at org.junit.Assert.assertEquals(Assert.java:123)
      	at org.junit.Assert.assertEquals(Assert.java:145)
      	at org.nuxeo.ecm.multi.tenant.TestMultiTenantService.shouldEnableTenantIsolationForNewDomain(TestMultiTenantService.java:200)
      

        Attachments

          Activity

            People

            • Assignee:
              fguillaume Florent Guillaume
              Reporter:
              fguillaume Florent Guillaume
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: