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

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

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

ISIS-961: in IsisTransactionManager, call setAbortCause if an exception is 
caught for any reason (this includes an exception thrown by domain object code).

Also:
- minor enhancement/improvement to error page so that a 
NonRecoverableException's message is displayed rather than a generic message.


> Throwing exception in application code does NOT abort the transaction (it 
> should, of course).
> ---------------------------------------------------------------------------------------------
>
>                 Key: ISIS-961
>                 URL: https://issues.apache.org/jira/browse/ISIS-961
>             Project: Isis
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: core-1.7.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>             Fix For: core-1.8.0
>
>
> Is an issue in 1.7.0, don't know if an issue earlier (but suspect it may well 
> be).
> Note that this "only" effects the domain code, so it won't affect all 
> applications.
> If an exception is thrown by the DBMS, then the transaction is still aborted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to