Seems like you're not supplying a title Do you have a form element named "title" in your OptomagTovar_addForm method? Ex: <input type="hidden" name="title" value="myTitle"> Or use something like: OptomagTovar.createInObjectManager(REQUEST['id'],title='myTitle', REQUEST) -----Opprinnelig melding----- Fra: zope-admin@zope.org [mailto:zope-admin@zope.org] På vegne av Mikhail Sendt: 13. februar 2002 10:35 Til: zope@zope.org Emne: [Zope] OFS::Image based Zclass creation error Good day! I'm try to create OFS::Image based product. My actions: 1. Crate product Optomag 2. Add Zclass OptomagTovar based on OFS::Image (with Include standard Zope persistent object base classes) 3. In Zclass OptomagTovar add Property Sheets 'tovar' 4. add property 'articul' (string type) When try to add 'OptomagTovar' with any ID receive: Error Type: TypeError Error Value: argument title was ommitted And traceback: Traceback (innermost last): File D:\Zope\lib\python\ZPublisher\Publish.py, line 150, in publish_module File D:\Zope\lib\python\ZPublisher\Publish.py, line 114, in publish File D:\Zope\lib\python\Zope\__init__.py, line 158, in zpublisher_exception_hook (Object: OptomagTovar_factory) File D:\Zope\lib\python\ZPublisher\Publish.py, line 98, in publish File D:\Zope\lib\python\ZPublisher\mapply.py, line 88, in mapply (Object: OptomagTovar_add) File D:\Zope\lib\python\ZPublisher\Publish.py, line 39, in call_object (Object: OptomagTovar_add) File D:\Zope\lib\python\OFS\DTMLMethod.py, line 127, in __call__ (Object: OptomagTovar_add) File D:\Zope\lib\python\DocumentTemplate\DT_String.py, line 473, in __call__ (Object: OptomagTovar_add) File D:\Zope\lib\python\DocumentTemplate\DT_With.py, line 61, in render (Object: OptomagTovar.createInObjectManager(REQUEST['id'], REQUEST)) File D:\Zope\lib\python\DocumentTemplate\DT_Util.py, line 159, in eval (Object: OptomagTovar.createInObjectManager(REQUEST['id'], REQUEST)) (Info: REQUEST) File <string>, line 2, in f File D:\Zope\lib\python\ZClasses\ZClass.py, line 450, in createInObjectManager (Object: OptomagTovar) File D:\Zope\lib\python\ZPublisher\mapply.py, line 83, in mapply (Object: OptomagTovar) File D:\Zope\lib\python\ZPublisher\mapply.py, line 21, in default_missing_name TypeError: (see above) Who can explain me what is wrong? -- WBR, Mikhail ZSP Instock (http://www.instock.ru/) _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )