Re: Custom type is missing id_schema in reg_form
from
Tim Hicks
on Dec 15, 2006 07:06 AM
Rob Miller wrote:
>> I'm afraid it's in a private repo, so I've pasted to somewhere
>> temporary. See <http://paste.plone.org/12090> for my schema definition
>> and <http://paste.plone.org/12091> for my member class.
>
> this helps, thanks.
It turns out the particular problem I was seeing stemmed from one
portion of my custom member schema having:
BaseSchema.copy() + Schema((...
in it. The 'id' field from BaseSchema was over-riding the 'id' (aka
'username') field from the remember id_schema.
Sorry for the noise.
Tim