Dan Haywood (JIRA | 26 Jun 2012 23:00
Picon
Favicon

[jira] [Created] (ISIS-234) Persistence by reachability of aggregated instances fails.

Dan Haywood created ISIS-234:
--------------------------------

             Summary: Persistence by reachability of aggregated instances fails.
                 Key: ISIS-234
                 URL: https://issues.apache.org/jira/browse/ISIS-234
             Project: Isis
          Issue Type: Bug
            Reporter: Dan Haywood
            Assignee: Dan Haywood
             Fix For: 0.3.0-incubating

as per http://mail-archives.apache.org/mod_mbox/incubator-isis-dev/201206.mbox/%3C4FE3BAC2.8040001%40nakedobjects.org%3E

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

Dan Haywood (JIRA | 27 Jun 2012 00:10
Picon
Favicon

[jira] [Resolved] (ISIS-234) Persistence by reachability of aggregated instances fails.


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

Dan Haywood resolved ISIS-234.
------------------------------

    Resolution: Fixed

> Persistence by reachability of aggregated instances fails.
> ----------------------------------------------------------
>
>                 Key: ISIS-234
>                 URL: https://issues.apache.org/jira/browse/ISIS-234
>             Project: Isis
>          Issue Type: Bug
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>             Fix For: 0.3.0-incubating
>
>
> as per http://mail-archives.apache.org/mod_mbox/incubator-isis-dev/201206.mbox/%3C4FE3BAC2.8040001%40nakedobjects.org%3E

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

Dan Haywood (JIRA | 27 Jun 2012 00:14
Picon
Favicon

[jira] [Commented] (ISIS-234) Persistence by reachability of aggregated instances fails.


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

Dan Haywood commented on ISIS-234:
----------------------------------

It seems that we only ever call remapAsPersistent for root adapters, never for aggregated entities.  I
suspect this means that the OIDs of these aggregated entities cannot be trusted after the persist.

However, if the user does not do a flush (ie all persistence happens after the action is completed), then
this ought not be a problem, assuming that the objectstore is clever enough to know how to persist an
aggregated object.  I'm guessing that they could be, because - at least in theory - they have the context of
the root adapter being persisted.

~~~
If all the above is bogus, then the remapAsPersistent will probably need to be enhanced to also walk the
graph looking for aggregated entities that have a parent OID of the root adapter initially being
persisted.  (It either walks the graph, or just does a brute-force search through the ObjectManager's maps).

> Persistence by reachability of aggregated instances fails.
> ----------------------------------------------------------
>
>                 Key: ISIS-234
>                 URL: https://issues.apache.org/jira/browse/ISIS-234
>             Project: Isis
>          Issue Type: Bug
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
(Continue reading)

Robert Matthews (JIRA | 9 Aug 2012 12:24
Picon
Favicon

[jira] [Reopened] (ISIS-234) Persistence by reachability of aggregated instances fails.


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

Robert Matthews reopened ISIS-234:
----------------------------------

      Assignee: Robert Matthews  (was: Dan Haywood)

There is still a problem when an object containing an aggregated object is persisted

> Persistence by reachability of aggregated instances fails.
> ----------------------------------------------------------
>
>                 Key: ISIS-234
>                 URL: https://issues.apache.org/jira/browse/ISIS-234
>             Project: Isis
>          Issue Type: Bug
>            Reporter: Dan Haywood
>            Assignee: Robert Matthews
>             Fix For: 0.3.0-incubating
>
>
> as per http://mail-archives.apache.org/mod_mbox/incubator-isis-dev/201206.mbox/%3C4FE3BAC2.8040001%40nakedobjects.org%3E

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

(Continue reading)

Robert Matthews (JIRA | 9 Aug 2012 12:36
Picon
Favicon

[jira] [Commented] (ISIS-234) Persistence by reachability of aggregated instances fails.


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

Robert Matthews commented on ISIS-234:
--------------------------------------

The other object stores also need to be able to store aggregate objects or fail gracefully. At the moment
only the NOSQL one is working.

> Persistence by reachability of aggregated instances fails.
> ----------------------------------------------------------
>
>                 Key: ISIS-234
>                 URL: https://issues.apache.org/jira/browse/ISIS-234
>             Project: Isis
>          Issue Type: Bug
>            Reporter: Dan Haywood
>            Assignee: Robert Matthews
>             Fix For: 0.3.0-incubating
>
>
> as per http://mail-archives.apache.org/mod_mbox/incubator-isis-dev/201206.mbox/%3C4FE3BAC2.8040001%40nakedobjects.org%3E

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

(Continue reading)

Dan Haywood (JIRA | 30 Aug 2012 11:45
Picon
Favicon

[jira] [Commented] (ISIS-234) Persistence by reachability of aggregated instances fails.


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

Dan Haywood commented on ISIS-234:
----------------------------------

I believe the in-memory (dflt) objectstore is also working now; Rob was gonna look at the XML object store also.

> Persistence by reachability of aggregated instances fails.
> ----------------------------------------------------------
>
>                 Key: ISIS-234
>                 URL: https://issues.apache.org/jira/browse/ISIS-234
>             Project: Isis
>          Issue Type: Bug
>            Reporter: Dan Haywood
>            Assignee: Robert Matthews
>             Fix For: 0.3.1-incubating
>
>
> as per http://mail-archives.apache.org/mod_mbox/incubator-isis-dev/201206.mbox/%3C4FE3BAC2.8040001%40nakedobjects.org%3E

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

(Continue reading)


Gmane