[CMF-checkins] CVS: CMF - ISSUES.txt:1.2.14.2
Tres Seaver
tseaver@zope.com
Wed, 9 Jan 2002 09:24:25 -0500
Update of /cvs-repository/CMF
In directory cvs.zope.org:/tmp/cvs-serv27225
Modified Files:
Tag: CMF-1_2-branch
ISSUES.txt
Log Message:
- Note change to interface of content factory methods, especially
impact on generated ZClass methods.
=== CMF/ISSUES.txt 1.2.14.1 => 1.2.14.2 ===
2. Run this method by clicking on its "Test" tab.
+
+ Issue: Content constructor methods interface change
+
+ Factory methods used to construct content instances used to
+ return the URL of the "initial view" of the new object; since
+ August 2001, the interface has changed to require that the method
+ return the new object directly, wrapped in its container. This
+ change will most likely affect ZClass-based content using the
+ default DTML factory methods.
+
+ Fix
+
+ - Update all such methods to return the new object. This
+ update may be done more simply by replacing the generated
+ DTMLMethod used for ZClass construction with an equivalent
+ PythonScript.