|
Re: Schemata improvements: msg#00054web.zope.plone.archetypes.devel
Hi there, I updatetd Archetypes from CVS. No I get the following traceback when I go to either archetype_tool/introspect or archetype_tool/UIDS Robert Site Error An error was encountered while publishing this resource. AttributeError Sorry, a site error occurred. Traceback (innermost last): * Module ZPublisher.Publish, line 150, in publish_module * Module Products.Localizer, line 59, in new_publish * Module ZPublisher.Publish, line 114, in publish * Module Zope.App.startup, line 182, in zpublisher_exception_hook * Module ZPublisher.Publish, line 98, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 39, in call_object * Module Shared.DC.Scripts.Bindings, line 252, in __call__ * Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec * Module Products.PageTemplates.PageTemplateFile, line 96, in _exec * Module Products.PageTemplates.PageTemplate, line 95, in pt_render <PageTemplateFile at /AA/pilot01/archetype_tool/> * Module TAL.TALInterpreter, line 186, in __call__ * Module TAL.TALInterpreter, line 230, in interpret * Module TAL.TALInterpreter, line 622, in do_loop_tal * Module TAL.TALInterpreter, line 230, in interpret * Module TAL.TALInterpreter, line 622, in do_loop_tal * Module TAL.TALInterpreter, line 230, in interpret * Module TAL.TALInterpreter, line 483, in do_insertText_tal * Module Products.PageTemplates.TALES, line 223, in evaluateText * Module Products.PageTemplates.TALES, line 217, in evaluate URL: manage_debugForm Line 54, Column 8 Expression: string:' ${field/name}::${field/type}' Names: {'container': <ArchetypeTool at /AA/pilot01/archetype_tool>, 'default': <Products.PageTemplates.TALES.Default instance at 0x86c6e6c>, 'here': <ArchetypeTool at /AA/pilot01/archetype_tool>, 'loop': <SafeMapping instance at 9cf36b0>, 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x8700e2c>, 'nothing': None, 'options': {'args': ()}, 'repeat': <SafeMapping instance at 9cf36b0>, 'request': <HTTPRequest, URL=http://localhost:8080/AA/pilot01/archetype_tool/manage_debugForm>, 'root': <Application instance at a1fae10>, 'template': <PageTemplateFile at /AA/pilot01/archetype_tool/>, 'traverse_subpath': [], 'user': admin} * Module Products.PageTemplates.Expressions, line 245, in __call__ * Module Products.PageTemplates.Expressions, line 206, in __call__ * Module Products.PageTemplates.Expressions, line 194, in _eval * Module Products.PageTemplates.Expressions, line 150, in _eval __traceback_info__: field * Module Products.PageTemplates.Expressions, line 360, in restrictedTraverse __traceback_info__: {'path': ['name'], 'TraversalRequestNameStack': []} * Module AccessControl.ZopeGuards, line 47, in guarded_getattr AttributeError: StringField instance has no attribute 'name' (Also, an error occurred while attempting to render the standard error message.) Troubleshooting Suggestions * The URL may be incorrect. * The parameters passed to this resource may be incorrect. * A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Am Freitag, 13. Juni 2003 00:24 schrieb Geoff Davis: > Hi all-- > > I have made a number of improvements to the way that base_edit renders when > you have multiple schemata in your schema. If you CVS up, be sure to > either update the navigation properties or uninstall and reinstall > archetypes (see below). Here's the summary from CVS. > > * Made lots of improvements to the rendering of schemata: > - base_object.Schemata() now returns deterministically ordered schemata > - base_edit now has Previous / Next buttons > - content_edit has code to handle schemata transitions > - base_edit uses the portal_form_url script to get the form action > > * Added the OrderedDict class to utils.py > - OrderedDict implements the UserDict interface but maintains an > ordering for the keys returned by keys() (and by items() and values()). - > Unit tests for OrderedDict are in test_utils2.py > > *** Note: There is a new entry for navigation properties: > default.content_edit.next_schemata = action:edit > Uninstalling and reinstalling archetypes via the quickinstaller tool is the > easiest way to fix this. *** > > Geoff > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: eBay > Great deals on office technology -- on eBay now! Click here: > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > _______________________________________________ > Archetypes-devel mailing list > Archetypes-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/archetypes-devel -- mit freundlichen Grüssen Robert Rottermann www.redCOR.ch ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Schemata improvements: 00054, Geoff Davis |
|---|---|
| Next by Date: | Re: Schemata improvements: 00054, robert |
| Previous by Thread: | Schemata improvementsi: 00054, Geoff Davis |
| Next by Thread: | Re: Schemata improvements: 00054, Geoff Davis |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |