Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-737

unexpected session is used in XATest.testAddNodeCommit()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.1
    • 1.3
    • test
    • None

    Description

      In org.apache.jackrabbit.core.XATest.java:137

      // assertion: node exists in this session
      try

      { otherSuperuser.getNodeByUUID(n.getUUID()); } catch (ItemNotFoundException e) { fail("Committed node not visible in this session"); }

      // assertion: node also exists in other session
      try { otherSuperuser.getNodeByUUID(n.getUUID()); }

      catch (ItemNotFoundException e)

      { fail("Committed node not visible in other session"); }

      The session instance of 'otherSuperuser' is used two times. In the first case, I think that it is not 'otherSuperuser' but 'superuser'.

      Attachments

        Activity

          People

            mreutegg Marcel Reutegger
            tnk Shinichi Tanaka
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: