[Maypole] model_class issues on 1.7->2.x upgrade?

From: Jesse Sheidlower (jester at panix.com)
Date: Thu Nov 18 2004 - 19:49:20 GMT


Before I spend too much time debugging this, I thought someone
might have run into this and could help out.

I just upgraded Maypole from 1.7 to 2.04. Several applications
were unaffected, but one relatively complex one, which has some
authentication juju going on, had problems. I'm now throwing
errors of the sort:

  caught authenticate error: Can't call method "can" on an undefined
  value at...

with the relevant line, in the main module, being

  return $r->model_class->sub_authenticate($r)
   if $r->model_class->can("sub_authenticate");

Backing out 2.04 in favor of 1.7 fixes the problem.

Anyone run into this before, or know the obvious place
to start?

Jesse Sheidlower

_______________________________________________
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