Patches item #1423272, was opened at 2006-02-03 11:00
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540674&aid=1423272&group_id=74338
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Rick Richardson (rovar)
Assigned to: Nobody/Anonymous (nobody)
Summary: Events RowCreateSignal not really useful, added post-create
Initial Comment:
The RoWCreateSignal suffers from two drawbacks based on
the fact that it fires before a row is created.
First, it can't give a reference to the created row
(which is what i would picture a large percentage of
users would want it for)
Secondly, it fires whether the row was successfully
created or not.
In the case of the auditing system that i'm writing. I
desperately need these two features. So I added a
RowCreatedSignal and then added the code to invoke it
in the _SO_finishCreate function and it passes the
created ID and the class to the callback.
I've tested it. seems to work alright. Attached is the
patch if you wish to use it.
Rick
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=540674&aid=1423272&group_id=74338
|