[Jifty-commit] r1203 - in jifty/trunk: lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Thu Jun 8 00:12:08 EDT 2006
Author: jesse
Date: Thu Jun 8 00:12:08 2006
New Revision: 1203
Modified:
jifty/trunk/ (props changed)
jifty/trunk/Changelog
jifty/trunk/lib/Jifty/Record.pm
Log:
r12335 at pinglin: jesse | 2006-06-07 22:50:46 -0400
* Added a changelog note about the record/object changes
* Don't cluck on failed _set method calls.
Modified: jifty/trunk/Changelog
==============================================================================
--- jifty/trunk/Changelog (original)
+++ jifty/trunk/Changelog Thu Jun 8 00:12:08 2006
@@ -7,6 +7,10 @@
* The JS method document.getElementsBySelector() no longer exists. Use
cssQuery() instead.
+ * Jifty::Record now returns empty objects for related objects that can't be
+ loaded, rather than undef
+
+
* The keybinding JS code is now a more proper library
(Jifty.KeyBindings) and less intrusive. If you've overridden the
default /_elements/wrapper in your app, you'll want to make sure you get
Modified: jifty/trunk/lib/Jifty/Record.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Record.pm (original)
+++ jifty/trunk/lib/Jifty/Record.pm Thu Jun 8 00:12:08 2006
@@ -218,7 +218,6 @@
my $self = shift;
unless ($self->check_update_rights(@_)) {
- Jifty->log->logcluck("Permission denied");
return (0, _('Permission denied'));
}
$self->SUPER::_set(@_);
More information about the Jifty-commit
mailing list