[
https://issues.apache.org/jira/browse/CURATOR-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15990016#comment-15990016
]
ASF GitHub Bot commented on CURATOR-404:
----------------------------------------
GitHub user Randgalt opened a pull request:
https://github.com/apache/curator/pull/217
[CURATOR-404] AsyncTransactionCreateBuilder has API mistake
intermediate AsyncTransactionCreateBuilder DSL methods should return
AsyncPathAndBytesable not AsyncPathable.
The good news here is the 99.9% of old clients will still work as this is
an intermediate API call only. e.g.
`client.transactionOp().create().compressed().forPath()` still works. It
merely now gains the ability to set the byte array (as it should).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/curator CURATOR-404
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/curator/pull/217.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #217
----
commit 35f5d274e572b91332ab04f3d03f79938cd216f3
Author: randgalt <[email protected]>
Date: 2017-04-29T19:10:25Z
intermediate AsyncTransactionCreateBuilder DSL methods should return
AsyncPathAndBytesable not AsynccPathable
----
> AsyncTransactionOp#create returns the wrong DSL type
> ----------------------------------------------------
>
> Key: CURATOR-404
> URL: https://issues.apache.org/jira/browse/CURATOR-404
> Project: Apache Curator
> Issue Type: Bug
> Components: Framework
> Affects Versions: 3.3.0
> Reporter: Jordan Zimmerman
> Fix For: 3.3.1
>
>
> The AsyncTransactionOp.create() methods should return AsyncPathAndBytesable
> not AsyncPathable.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)