Skip Menu |

This queue is for tickets about the CatalystX-ListFramework-Builder CPAN distribution.

Report information
The Basics
Id: 38993
Status: resolved
Priority: 0/
Queue: CatalystX-ListFramework-Builder

People
Owner: OLIVER [...] cpan.org
Requestors: nigel.metheringham [...] Dev.intechnology.co.uk
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.33
Fixed in: 0.34



Subject: AJAX::_sfy cannot handle being passed an undef row
If _sfy() in AJAX.pm, the $row parameter can sometimes legitimately be undef. _sfy() does a $row->result_source a few lines in, so this causes an exception. Either _sfy() needs to handle $row being undef, or should not be called with $row undef.
On Thu Sep 04 12:06:24 2008, nigel.metheringham@Dev.intechnology.co.uk wrote: Show quoted text
> If _sfy() in AJAX.pm, the $row parameter can sometimes legitimately be > undef. > > _sfy() does a $row->result_source a few lines in, so this causes an > exception. > > Either _sfy() needs to handle $row being undef, or should not be called > with $row undef.
Thanks - I've applied a fix where _sfy() returns an empty string for the UI if the $row is undef or simply isn't anything blessed. I'll resolve this ticket when I do the release and know it's fixed your issue. regards, oliver.