[Jifty-commit] r3965 - in Jifty-DBI/trunk: lib/Jifty/DBI

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Fri Aug 24 12:42:59 EDT 2007


Author: sterling
Date: Fri Aug 24 12:42:59 2007
New Revision: 3965

Modified:
   Jifty-DBI/trunk/   (props changed)
   Jifty-DBI/trunk/lib/Jifty/DBI/Record.pm

Log:
 r8935 at riddle:  andrew | 2007-08-24 10:48:06 -0500
 Fix the documentation of the after_create trigger to match the actual behavior (and only that, this time).


Modified: Jifty-DBI/trunk/lib/Jifty/DBI/Record.pm
==============================================================================
--- Jifty-DBI/trunk/lib/Jifty/DBI/Record.pm	(original)
+++ Jifty-DBI/trunk/lib/Jifty/DBI/Record.pm	Fri Aug 24 12:42:59 2007
@@ -1083,7 +1083,8 @@
 
       # Do whatever needs to be done here
 
-      return; # return value is ignored
+      return;   # aborts load of the value and causes create to return failure
+      return 1; # continue normally
   }
 
 This method is called after attempting to insert the record into the


More information about the Jifty-commit mailing list