Skip Menu |

This queue is for tickets about the Maypole-Plugin-QuickTable CPAN distribution.

Report information
The Basics
Id: 13801
Status: resolved
Priority: 0/
Queue: Maypole-Plugin-QuickTable

People
Owner: Nobody in particular
Requestors: rmcclain [...] megapath.net
Cc:
AdminCc:

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



Subject: add ref($thing) check in maybe_link_view
Can you add something like: return $thing unless ref($thing); to the beginning of maybe_link_view? I'm using M:P:Authorize, and problems are caused because one of the column names is model_name in one of my tables and contains stuff like "Model::Users". It tried to call methods on those to get the links when it shouldn't. I realize this isn't maybe the best usage, but it's the way M:P:A works, so other people are sure to run into it.
[guest - Wed Jul 20 16:22:40 2005]: Show quoted text
> Can you add something like: > > return $thing unless ref($thing); > to the beginning of maybe_link_view? > > I'm using M:P:Authorize, and problems are caused because one of the > column names is model_name in one of my tables and contains stuff > like "Model::Users". It tried to call methods on those to get the > links when it shouldn't. > > I realize this isn't maybe the best usage, but it's the way M:P:A > works, so other people are sure to run into it. >
Fixed in 0.301