[Zope3-Users] RE: principal folder subclassing

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Apr 12 02:40:51 EDT 2006


On Tuesday 11 April 2006 04:07, Pete Taylor wrote:
> if you create your own principal info like i did for these principals,
> you have to make sure you don't set title or description to None.  if
> they're set to none, attempting to grant on them fails because it
> attempts to "lower()" the NoneType.

Thanks for the follow up. Note that at least title is a required field, so you 
must provide one. If you implement your own component, always study the 
required interfaces carefully! We tries hard to always provide good 
documentation in those interfaces on how to implement them.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list