Why am I seeing the same Member schema for all of my Member types?
Up to Table of ContentsThis 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.