Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"
For seeing if any changes have occurred in another thread, it would be beneficial to have a refresh method. This should also support automatic fetching of the already initialized fields (#111) and possibly fetching (#80).
This was suggested due to #346 and would be useful for the ClientSession.
r948 adds an initial version of IQuery.refresh. What's missing is the logic to force initialization of entities and collections based on the graph that was passed in. Some collections are being nulled that are actually desired (see failing test case for an example).
Semantically, however, refresh is now working.
Note: Factored several methods out of MergeEventListener into the static Relooader helper class.
r948 adds an initial version of IQuery.refresh. What's missing is the logic to force initialization of entities and collections based on the graph that was passed in. Some collections are being nulled that are actually desired (see failing test case for an example).
Semantically, however, refresh is now working.
Note: Factored several methods out of MergeEventListener into the static Relooader helper class.