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

From: Brian Glass (brian at glassbrian.com)
Date: Sun Jan 02 2005 - 00:57:14 GMT


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 at lists.netthink.co.uk
>http://lists.netthink.co.uk/listinfo/maypole
>
>
>

_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT