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

ASF subversion and git services commented on ISIS-769:
------------------------------------------------------

Commit a51496d3fc91a5cec10a99b7ff9acb214f289098 in isis's branch 
refs/heads/ISIS-769 from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=a51496d ]

ISIS-769: precommit and commit

1. First the precommit commits any outstanding updates for configured applib 
services.
2. Then the JDO commit is performed.
3. Then the IsisTransaction state is set to committed.

Previously the order was 1, 3, 2.  Any exception in the JDO commit would then 
cause things to get out of whack; see 
http://isis.markmail.org/thread/anln67ohbvkx4r4s .


> IsisTransaction should do a "precommit" for pending updates to applib 
> services, prior to commiting the underlying (JDO) transaction.
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-769
>                 URL: https://issues.apache.org/jira/browse/ISIS-769
>             Project: Isis
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: core-1.4.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>             Fix For: core-1.4.2
>
>
> As discussed on the mailing list, see 
> http://isis.markmail.org/thread/anln67ohbvkx4r4s.



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

Reply via email to