Re: Event handling progress

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Jan 21 2003 - 11:01:50 EST

  • Next message: Andrus: "Re: Event handling progress"

    >
    > As discussed yesterday I've done some more work on the event stuff:
    >
    > - added a dataContextDidRollback event
    >
    > - made ContextCommitObserver the listener for DataContextTransaction
    > events
    >
    > - removed the old handler class (solves a lot of potential problems)
    >

    > - consistently use the term listener everywhere, to avoid confusion
    > between listener and observer (which is really a delegate in NSSpeak).

    I am not necessarily opposed to renaming Observer to Delegate. I guess I
    need to think about it some more :-).

    > Everything still works as expected, except for one thing that I cannot
    > make work (or rather fail) in my (still unpublished) DataContext test.
    > ContextCommitObserver is now also registered for
    > #dataContextDidRollback, but for some reasons I cannot get a transaction
    > to fail.

    Could you send me this unit test (preferrably in the patch "diff -u"
    format), I will run it on Oracle when I get home tonight. If rollback is
    not called, we need to fix it ASAP.

    Andrus



    This archive was generated by hypermail 2.0.0 : Tue Jan 21 2003 - 11:01:50 EST