Skip Menu |

This queue is for tickets about the Maypole CPAN distribution.

Report information
The Basics
Id: 17780
Status: resolved
Priority: 0/
Queue: Maypole

People
Owner: Nobody in particular
Requestors: kimryan [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 2.10
Fixed in: 2.11



Subject: factory macro uses deprecated CDBI function
In Class::DBI version 3.0.14 accessor_name has been deprecated and replaced with accessor_name_for The factory macro file uses the accessor_name fuction in the display_line macro. This means that text will not display when you view a table with CDBI 3.0.14 installed display_line needs to be changed to something like: col_obj = item.find_column(col); accessor = item.accessor_name_for(col_obj); use maybe_link_view(item.$accessor);
On Tue Feb 21 00:58:20 2006, guest wrote: Show quoted text
> In Class::DBI version 3.0.14 accessor_name has been deprecated and > replaced with accessor_name_for > > The factory macro file uses the accessor_name fuction in the > display_line macro. This means that text will not display when you view > a table with CDBI 3.0.14 installed > > display_line needs to be changed to something like: > col_obj = item.find_column(col); > accessor = item.accessor_name_for(col_obj); > use maybe_link_view(item.$accessor);
fixed in SVN / 2.11