chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emiel Ackermann (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CMIS-817) Default operation context on session can not be set
Date Tue, 24 Jun 2014 09:23:25 GMT

    [ https://issues.apache.org/jira/browse/CMIS-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14041909#comment-14041909
] 

Emiel Ackermann commented on CMIS-817:
--------------------------------------

Any chance there is going to be an opencmis-client version 0.11.1 anytime soon? Or could I
use some sort of nightly build from a mvn repository somewhere?

Thx!

> Default operation context on session can not be set
> ---------------------------------------------------
>
>                 Key: CMIS-817
>                 URL: https://issues.apache.org/jira/browse/CMIS-817
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.11.0
>            Reporter: Emiel Ackermann
>            Assignee: Florian Müller
>             Fix For: OpenCMIS 1.0.0
>
>
> 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.
> {color:red}this.{color} is missing on context:
>     public void setDefaultContext(OperationContext context) {
>         lock.writeLock().lock();
>         try {
>             context = (context == null ? DEFAULT_CONTEXT : context);
>         } finally {
>             lock.writeLock().unlock();
>         }
>     }



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message