Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-817

Default operation context on session can not be set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • OpenCMIS 0.11.0
    • OpenCMIS 0.12.0
    • opencmis-client
    • None

    Description

      The OperationContext parameter given to method
      setDefaultContext(OperationContext context) of org.apache.chemistry.opencmis.client.runtime.SessionImpl
      gets overwritten instead of the OperationContext field of SessionImpl.

      this. is missing on context:

      public void setDefaultContext(OperationContext context) {
      lock.writeLock().lock();
      try

      { context = (context == null ? DEFAULT_CONTEXT : context); }

      finally

      { lock.writeLock().unlock(); }

      }

      Attachments

        Activity

          People

            fmui Florian Müller
            Mielios Emiel Ackermann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: