Subject: | Avoid read checks against an empty object in Jifty::Action::Record::Create |
Date: | Wed, 04 Jan 2012 13:15:12 -0500 |
To: | bug-Jifty [...] rt.cpan.org |
From: | Thomas Sibley <tsibley [...] cpan.org> |
13:11 <@trs> I do think there's a minor jifty bug here.
13:13 <@trs> Jifty::Action::Record::Create should override or otherwise
affect _setup_event_before_action to not call $self->record->as_hash.
13:14 <@trs> since doing so is kinda crazy in a Create
13:14 <@trs> (and leads to situations where you get a read check on an
empty object)