Ticket #9164 (closed Bug: fixed)

Opened 5 years ago

Last modified 5 years ago

When selecting "Full review list..." or simply clicking on the review list portlet I get Exception Value 'url_href_title'

Reported by: iproute Owned by:
Priority: major Milestone: 3.3
Component: Unknown Version:
Keywords: rc2 url_href_title portlet Cc:

Description

When selecting "Full review list..." or simply clicking on the review list portlet I get Exception Value 'url_href_title'

Full error message is:

Traceback (innermost last):

  • Module ZPublisher.Publish, line 119, in publish
  • Module ZPublisher.mapply, line 88, in mapply
  • Module ZPublisher.Publish, line 42, in call_object
  • Module Products.Five.browser.metaconfigure, line 417, in call
  • Module Shared.DC.Scripts.Bindings, line 313, in call
  • Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  • Module Products.PageTemplates.PageTemplateFile, line 129, in _exec
  • Module Products.PageTemplates.PageTemplate, line 98, in pt_render
  • Module zope.pagetemplate.pagetemplate, line 117, in pt_render
  • Module zope.tal.talinterpreter, line 271, in call
  • Module zope.tal.talinterpreter, line 346, in interpret
  • Module zope.tal.talinterpreter, line 891, in do_useMacro
  • Module zope.tal.talinterpreter, line 346, in interpret
  • Module zope.tal.talinterpreter, line 536, in do_optTag_tal
  • Module zope.tal.talinterpreter, line 521, in do_optTag
  • Module zope.tal.talinterpreter, line 516, in no_tag
  • Module zope.tal.talinterpreter, line 346, in interpret
  • Module zope.tal.talinterpreter, line 957, in do_defineSlot
  • Module zope.tal.talinterpreter, line 346, in interpret
  • Module zope.tal.talinterpreter, line 536, in do_optTag_tal
  • Module zope.tal.talinterpreter, line 521, in do_optTag
  • Module zope.tal.talinterpreter, line 516, in no_tag
  • Module zope.tal.talinterpreter, line 346, in interpret
  • Module zope.tal.talinterpreter, line 861, in do_defineMacro
  • Module zope.tal.talinterpreter, line 346, in interpret
  • Module zope.tal.talinterpreter, line 957, in do_defineSlot
  • Module zope.tal.talinterpreter, line 346, in interpret
  • Module zope.tal.talinterpreter, line 536, in do_optTag_tal
  • Module zope.tal.talinterpreter, line 521, in do_optTag
  • Module zope.tal.talinterpreter, line 516, in no_tag
  • Module zope.tal.talinterpreter, line 346, in interpret
  • Module zope.tal.talinterpreter, line 949, in do_defineSlot
  • Module zope.tal.talinterpreter, line 346, in interpret
  • Module zope.tal.talinterpreter, line 855, in do_condition
  • Module zope.tal.talinterpreter, line 346, in interpret
  • Module zope.tal.talinterpreter, line 534, in do_optTag_tal
  • Module zope.tal.talinterpreter, line 516, in no_tag
  • Module zope.tal.talinterpreter, line 346, in interpret
  • Module zope.tal.talinterpreter, line 745, in do_insertStructure_tal
  • Module Products.PageTemplates.Expressions, line 221, in evaluateStructure
  • Module zope.tales.tales, line 696, in evaluate URL: index Line 23, Column 6 Expression: <PathExpr standard:'view/review_table'> Names:

{'container': <PloneSite at /umh>,

'context': <PloneSite at /umh>, 'default': <object object at 0x0098B528>, 'here': <PloneSite at /umh>, 'loop': {}, 'nothing': None, 'options': {'args': (<Products.Five.metaclass.SimpleViewClass from d:\intranet\buildout-cache\eggs\plone.app.content-1.4-py2.4.egg\plone\app\content\browser\full_review_list.pt object at 0x08E66AF0>,)}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x07FF00A8>, 'request': <HTTPRequest, URL= http://intranet.umhtx.org/full_review_list>, 'root': <Application at >, 'template': <ImplicitAcquirerWrapper object at 0x086D6650>, 'traverse_subpath': [], 'user': <PloneUser 'sysadmin'>, 'view': <Products.Five.metaclass.SimpleViewClass from d:\intranet\buildout-cache\eggs\plone.app.content-1.4-py2.4.egg\plone\app\content\browser\full_review_list.pt object at 0x08E66AF0>, 'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0x07F8B5B0>}

  • Module zope.tales.expressions, line 217, in call
  • Module Products.PageTemplates.Expressions, line 161, in _eval
  • Module Products.PageTemplates.Expressions, line 123, in render
  • Module plone.app.content.browser.reviewlist, line 19, in review_table
  • Module plone.app.content.browser.reviewlist, line 36, in render
  • Module zope.app.pagetemplate.viewpagetemplatefile, line 83, in call
  • Module zope.app.pagetemplate.viewpagetemplatefile, line 51, in call
  • Module zope.pagetemplate.pagetemplate, line 117, in pt_render
  • Module zope.tal.talinterpreter, line 271, in call
  • Module zope.tal.talinterpreter, line 346, in interpret
  • Module zope.tal.talinterpreter, line 861, in do_defineMacro
  • Module zope.tal.talinterpreter, line 346, in interpret
  • Module zope.tal.talinterpreter, line 536, in do_optTag_tal
  • Module zope.tal.talinterpreter, line 521, in do_optTag
  • Module zope.tal.talinterpreter, line 516, in no_tag
  • Module zope.tal.talinterpreter, line 346, in interpret
  • Module zope.tal.talinterpreter, line 855, in do_condition
  • Module zope.tal.talinterpreter, line 346, in interpret
  • Module zope.tal.talinterpreter, line 855, in do_condition
  • Module zope.tal.talinterpreter, line 346, in interpret
  • Module zope.tal.talinterpreter, line 536, in do_optTag_tal
  • Module zope.tal.talinterpreter, line 521, in do_optTag
  • Module zope.tal.talinterpreter, line 516, in no_tag
  • Module zope.tal.talinterpreter, line 346, in interpret
  • Module zope.tal.talinterpreter, line 824, in do_loop_tal
  • Module zope.tal.talinterpreter, line 346, in interpret
  • Module zope.tal.talinterpreter, line 536, in do_optTag_tal
  • Module zope.tal.talinterpreter, line 521, in do_optTag
  • Module zope.tal.talinterpreter, line 516, in no_tag
  • Module zope.tal.talinterpreter, line 346, in interpret
  • Module zope.tal.talinterpreter, line 408, in do_startTag
  • Module zope.tal.talinterpreter, line 485, in attrAction_tal
  • Module zope.tales.tales, line 704, in evaluateText
  • Module zope.tales.tales, line 696, in evaluate URL: d:\intranet\buildout-cache\eggs\plone.app.content-1.4-py2.4.egg\plone\app\content\browser\table.pt Line 116, Column 18 Expression: <PathExpr standard:u'item/url_href_title'> Names:

{'args': (),

'context': None, 'default': <object object at 0x0098B528>, 'loop': {}, 'nothing': None, 'options': {}, 'repeat': {}, 'request': <HTTPRequest, URL= http://intranet.umhtx.org/full_review_list>, 'template': <zope.app.pagetemplate.viewpagetemplatefile.ViewPageTemplateFile object at 0x04E5B210>, 'usage': <zope.pagetemplate.pagetemplate.TemplateUsage object at 0x07F9A250>, 'view': <plone.app.content.browser.tableview.Table object at 0x07F9A850>, 'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper object at 0x07F9A710>}

  • Module zope.tales.expressions, line 217, in call
  • Module zope.tales.expressions, line 194, in _eval
  • Module zope.tales.expressions, line 124, in _eval
  • Module zope.app.pagetemplate.engine, line 65, in call

KeyError: 'url_href_title'

Change History

comment:1 Changed 5 years ago by dunlapm

Cause traced to the fix for #8459. r24328 changed foldercontents.py but not reviewlist.py which uses the same template.

comment:2 Changed 5 years ago by csenger

  • Status changed from new to closed
  • Resolution set to fixed

(In [26686]) Translate the name of the content types in full_review_list. Add Tests. Fixes #9164

comment:3 Changed 5 years ago by csenger

(In [26701]) merge /plone.app.content/branches/1.x:r25645:26688

  • Correct detection if an item in the review list is folderish. Partiall fix for #8926
  • Add authenticator token to full_review_list form. A partial fix for #8926
  • Translate the name of the content types in full_review_list. Add Tests. Fixes #9164
  • Make note about how this interface is now for BBB only
Note: See TracTickets for help on using tickets.