You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The interface TopicMapListenerIF provides no separate callbacks for added or
modified associations. I therefore expect that whenever a topic t is added as a
role player to an association, then the callback objectModified(snapshot) will
be called with snapshot.getObjectId() == t.getObjectId().
However, the current implementation calls the callback only for the players
that were already attached to the association.
I will attach a test case that demonstrates the issue. The XTM file needs to be
placed in test-data/various/alumni.xtm.
The failure of testRolePlayerEvent1() shows that there is no event at all when
the first role player is attached to the association.
The failure of testRolePlayerEvent2() shows the same for the second role
player, but it also shows that there is an event for the first role player when
the second player is attached. (Because only the second assert fails.)
Original issue reported on code.google.com by lud...@fh-worms.de on 17 Oct 2010 at 5:02
Original issue reported on code.google.com by
lud...@fh-worms.de
on 17 Oct 2010 at 5:02Attachments:
The text was updated successfully, but these errors were encountered: