You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Kevin Doran (Jira)" <ji...@apache.org> on 2020/08/05 19:24:00 UTC

[jira] [Resolved] (NIFIREG-409) Incorrect revision returned on an updated entity

     [ https://issues.apache.org/jira/browse/NIFIREG-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Doran resolved NIFIREG-409.
---------------------------------
    Fix Version/s: 0.8.0
       Resolution: Fixed

> Incorrect revision returned on an updated entity
> ------------------------------------------------
>
>                 Key: NIFIREG-409
>                 URL: https://issues.apache.org/jira/browse/NIFIREG-409
>             Project: NiFi Registry
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Bryan Bende
>            Assignee: Bryan Bende
>            Priority: Major
>             Fix For: 0.8.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> With revisions enabled, if you create an entity like a user or group, then update it, and then use the returned entity from the update to issue a delete, you will get an error about the entity being out of date with the server.
> The version in the revision that is being returned is being incremented by 2 instead of by 1 because the JDBC revision manager is incrementing it, but then it is getting incremented again in the StandardRevisableEntityService.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)