Hello,
I have a problem, i want to add a picture to members so i did that :

- i had a CPS Image field in /cps/portal_schemas/ members
- i had a Image Widget in
/cps/portal_layouts /members
- i change the layout

when i go in editing mode of member data, there is no problem, but when i go in view mode i have this error:
  • _expression_: <PythonExpr dir.renderEntryDetailed(id)>
    Names:
    {'container': <CPSDefaultSite at /cps>,
    'context': <CPSDefaultSite at /cps>,
    'default': <Products.PageTemplates.TALES.Default instance at 0x014CD490>,
    'here': <CPSDefaultSite at /cps>,
    'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x0753A698>,
    'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x014BAA08>,
    'nothing': None,
    'options': {'args': ()},
    'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x0753A698>,
    'request': <HTTPRequest, URL="" href="http://albator/cps/cpsdirectory_entry_view">http://albator/cps/cpsdirectory_entry_view >,
    'root': <Application at >,
    'template': <FSPageTemplate at /cps/cpsdirectory_entry_view>,
    'traverse_subpath': [],
    'user': <CPSUser seternal>}
  • 
    
  • Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
    __traceback_info__: dir.renderEntryDetailed(id)
  • Module Python _expression_ "dir.renderEntryDetailed(id)", line 1, in <_expression_>
  • Module Products.CPSDirectory.BaseDirectory, line 562, in renderEntryDetailed
  • Module Products.CPSDirectory.BaseDirectory, line 932, in _renderLayout
  • Module Products.CPSSchemas.Layout, line 391, in renderLayoutStructure
  • Module Products.CPSSchemas.BasicWidgets, line 1775, in render
  • Module Products.CPSSchemas.BasicWidgets, line 1612, in getFileInfo
TypeError: _getContentUrl() takes exactly 4 arguments (3 given)


The same error occur when i want to add a file field...

what can i do to fix that problem?

regards,

Adrian Lopez
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to