[Maypole] 2.05 bug in Maypole::View::Base?

Brian Glass brian@glassbrian.com
Sat, 01 Jan 2005 19:57:14 -0500


I just ran into this in a bad way. I upgraded to 2.06 and whamo, a 
number of pages no longer worked for me. I finally tracked it down to 
this 'description' bug. Now I've got 2 lines I have to regularly comment 
out of Maypole::View::Base::vars - 'description' and 'cgi'.

It would be really nice to be able to have column named 'description' 
without having to hack Maypole...

Tony Bowden wrote:

>On Thu, Dec 30, 2004 at 01:36:12AM +0000, Dave Howorth wrote:
>  
>
>>I believe the only complete solution is to separate the namespaces. 
>>    
>>
>
>This is a long term goal of Class::DBI. But it's probably at least 2
>years away. 
>
>Doing it without breaking backwards compatibility isn't the easiest
>thing in the world.
>
>  
>
>>or all non-column-name methods should have a prefix (e.g. 
>>cdbi_retrieve). 
>>    
>>
>
>That's just not going to happen as far as CDBI is concerned. 
>
>What Maypole does is up to other people.
>
>  
>
>>Or just possibly we could agree to the age-old convention that method
>>names are verb phrases and column names are noun phrases?
>>    
>>
>
>This doesn't really work for methods which return data, rather than
>methods which do something.
>
>Tony
>
>_______________________________________________
>maypole mailing list
>maypole@lists.netthink.co.uk
>http://lists.netthink.co.uk/listinfo/maypole
>
>  
>