ATSchemaEditorNG 0.4.1 (Jun 08, 2006)
Bugfix release that adds important documentation for those updating from version 0.3
For additional information about this project, please visit the project page .
Available downloads
Release Notes
| Tested with | Plone 2.1.3, Plone 2.1.2, Plone 2.1.1, Plone 2.1, Plone 2.0.5 |
|---|---|
| State | Final release |
| License | GPL |
| Release Manager | Simon Pamies |
If you updated from version 0.3 there will be certainly on problem: Newly created objects will not update schema automatically from editor instead you'll see the schema as defined in filesystem. This behaviour differs from version 0.3 but is expected! This version adds new updateSchemaFromEditor method that ease the process of updating schema at creation time.
To bring schema in sync with editor managed schema you'll have to add the following code to your class (or update existing manage_afterAdd method to call self.updateSchemaFromEditor as the first one):
def manage_afterAdd(self, item, container):
self.updateSchemaFromEditor()
# Replace BaseContent with the base class of your class
BaseContent.manage_afterAdd(self, item, container)
# put more code here
...
Change log
0.4.1 (08.06.2006)
- Fixed some documentation lack: Newly created objects
not longer automatically update schema from Editor since
0.4. Added extensive documentation about this change.
- Added tests to test changes since 0.4

