Skip Menu |

This queue is for tickets about the Catalyst-Plugin-AutoCRUD CPAN distribution.

Report information
The Basics
Id: 48530
Status: resolved
Priority: 0/
Queue: Catalyst-Plugin-AutoCRUD

People
Owner: Nobody in particular
Requestors: jleu [...] mindspring.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 0.44
  • 0.45
Fixed in: (no value)



Subject: AJAX.pm: Use $row->get_column($col) instead of $row->$col
If your DBIx Schema has column names like `column with space` the $row->$col notation will not work. Instead you can use $row->get_column($col) and that will work.
I know it is poor form updating my own ticket, but this is the same issue as #46207. In my naive fix I modified AJAX.pm (0.45) on lines 167 173 176 changing $row->$col to $row->get_column($col)
On Fri Aug 07 17:47:27 2009, jleu@mindspring.com wrote: Show quoted text
> If your DBIx Schema has column names like `column with space` the > $row->$col notation will not work. Instead you can use > $row->get_column($col) and that will work.
Thanks for reporting this bug. I've included a fix for it in a new release of Catalyst::Plugin::AutoCRUD, version 0.47, which is now on CPAN. Please let me know if you have any further issues. regards, oliver.