Personal tools
You are here: Home Products CMFMember Documentation FAQ Why am I seeing the same Member schema for all of my Member types?
Document Actions

Why am I seeing the same Member schema for all of my Member types?

Up to Table of Contents

This FAQ applies to: Any version.

In the CMFMember 1.0.X series VariableSchemaSupport was used to provide dynamic schema support. The Member class delegates to the MemberDataContainer to retrieve its schema in the Member.getSchema() method.

Since the MemberDataContainer only supports storage of a single member schema, any Member-derived class that does not override the getSchema() method will delegate to the MemberDataContainer, and thus will retrieve the single stored schema. This problem can be avoided by overriding the getSchema() method in subclasses of Member.

Note: This problem does NOT exist in the CMFMember 1.1 series, which has scrapped VariableSchemaSupport in favor of the more robust and more efficient ATSchemaEditorNG.

by Rob Miller last modified April 21, 2005 - 22:03

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by