You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/08/14 10:14:45 UTC

[jira] [Commented] (ISIS-1190) If an referenced object cannot be loaded (not found in the database), then this should be handled gracefully

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

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

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

ISIS-1190: propogate rather than wrap the ObjectNotFoundException, so that is handled correctly by calling code (else the calling code - BookmarkServiceDefault - sees only a PojoRecreationException).

for good luck also do the same transformation of ObjectNotFoundException to null when converting ObjectAdapterMemento into an ObjectAdapter.


> If an referenced object cannot be loaded (not found in the database), then this should be handled gracefully
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-1190
>                 URL: https://issues.apache.org/jira/browse/ISIS-1190
>             Project: Isis
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: core-1.8.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: 1.9.0
>
>
> ie set the reference to null, rather than a big scary stacktrace.



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