Johan Lindstrom wrote:
>> This sounds likely since I remember having a few problems finding the
>> schema DDL in order to convert it to MySQL. There is none in the CPAN
>> distro, right?
There is in the manual. Look in Maypole::Manual::About.pod. The docs on
CPAN are more up-to-date than those on maypole.perl.org (unless it's
been updated recently). Specifically, the schema and the code example in
that chapter have been tested with the current Maypole. I just checked
again and I can still delete breweries :)
> Could it be that an earlier version is more friendly to a "1, 2, 3,
> done, it works" setup? If so, which would I pick?
The current Maypole should work. It's possible your schema or driver are
different to the example (though I didn't see anything significant in
the schema you posted), so check those once more just to be sure :)
Perhaps most likely is that something in your other libraries is
different to other peoples. What platform are you on? (I saw a C: in
your log, quickly crosses himself). What version of Class::DBI and other
libraries are you running?
To tie the problem down, under Maypole::CLI I'd single-step the
Maypole::Model::CDBI::delete method into Class::DBI::delete and see if
any variables look wrong. Your log seems to indicate something awry in
the before_delete trigger.
Cheers, Dave
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.2 - Release Date: 21/01/05_______________________________________________ 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