Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you have 2 peer contexts:

Panelnoformat

  databaseContext ->
ec1
 ec1
                  -> ec2

and you call localInstanceOfObject(), and the object is in the database, you'll get a copy of the databaseContext snapshot of the object when the fault resolves from ec2. That is, the editing context goes up one level to the database context and returns whatever the database context has, not whatever ec1 has (because they're peers). If its an uncommitted object, then the object only exists in ec1, so the fault can't resolve into ec2. Similarly, any uncommitted changes in general from ec1 won't show up in ec2, because they're peers.

What Mark just said was that if you have an uncommitted object, and you have:

Panelnoformat

  databaseContext -> ec1 ->
ec2
-> ec3
 ec2
                         -> ec3

(i.e. ec2 and ec3 are child editing contexts of ec1, but peers of each other)

...