Ticket #605 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Advanced search page broken

Reported by: cameron Owned by: brent
Priority: critical Milestone: 4.0.0
Component: General Version: eduCommons-4.0.0 (Bristol)
Keywords: Cc:

Description

Type a search term into the advanced search, and you get this error:

Traceback (innermost last):

Module ZPublisher.Publish, line 127, in publish Module ZPublisher.mapply, line 77, in mapply Module ZPublisher.Publish, line 47, in call_object Module Shared.DC.Scripts.Bindings, line 324, in call Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec Module Products.CMFCore.FSPageTemplate, line 240, in _exec Module Products.CMFCore.FSPageTemplate, line 180, in pt_render Module Products.PageTemplates?.PageTemplate?, line 80, in pt_render Module zope.pagetemplate.pagetemplate, line 115, in pt_render Module zope.tal.talinterpreter, line 271, in call Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 888, in do_useMacro Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 533, in do_optTag_tal Module zope.tal.talinterpreter, line 518, in do_optTag Module zope.tal.talinterpreter, line 513, in no_tag Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 954, in do_defineSlot Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 533, in do_optTag_tal Module zope.tal.talinterpreter, line 518, in do_optTag Module zope.tal.talinterpreter, line 513, in no_tag Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 858, in do_defineMacro Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 954, in do_defineSlot Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 533, in do_optTag_tal Module zope.tal.talinterpreter, line 518, in do_optTag Module zope.tal.talinterpreter, line 513, in no_tag Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 946, in do_defineSlot Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 533, in do_optTag_tal Module zope.tal.talinterpreter, line 518, in do_optTag Module zope.tal.talinterpreter, line 513, in no_tag Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 851, in do_condition Module Products.PageTemplates?.Expressions, line 207, in evaluateBoolean Module zope.tales.tales, line 696, in evaluate URL: file:/opt/eduCommons-4.0.0/src/enpraxis.educommons/enpraxis/educommons/skins/eduCommons/search_form.pt Line 149, Column 20 Expression: <NotExpr? u'isAnon'> Names:

{'container': <PloneSite? at /eduCommons>,

'context': <PloneSite? at /eduCommons>, 'default': <object object at 0xb75846d8>, 'here': <PloneSite? at /eduCommons>, 'loop': {}, 'nothing': None, 'options': {'args': ()}, 'repeat': <Products.PageTemplates?.Expressions.SafeMapping? object at 0xd56a644>, 'request': <HTTPRequest, URL=http://demo.educommons.com/search_form>, 'root': <Application at >, 'template': <FSPageTemplate at /eduCommons/search_form>, 'traverse_subpath': [], 'user': <PloneUser? 'producer'>}

Module zope.tales.expressions, line 280, in call Module Products.PageTemplates?.Expressions, line 207, in evaluateBoolean Module zope.tales.tales, line 696, in evaluate URL: file:/opt/eduCommons-4.0.0/src/enpraxis.educommons/enpraxis/educommons/skins/eduCommons/search_form.pt Line 149, Column 20 Expression: <PathExpr? standard:u'isAnon'> Names:

{'container': <PloneSite? at /eduCommons>,

'context': <PloneSite? at /eduCommons>, 'default': <object object at 0xb75846d8>, 'here': <PloneSite? at /eduCommons>, 'loop': {}, 'nothing': None, 'options': {'args': ()}, 'repeat': <Products.PageTemplates?.Expressions.SafeMapping? object at 0xd56a644>, 'request': <HTTPRequest, URL=http://demo.educommons.com/search_form>, 'root': <Application at >, 'template': <FSPageTemplate at /eduCommons/search_form>, 'traverse_subpath': [], 'user': <PloneUser? 'producer'>}

Module zope.tales.expressions, line 217, in call Module Products.PageTemplates?.Expressions, line 149, in _eval Module zope.tales.expressions, line 118, in _eval

KeyError?: 'isAnon'

Change History

comment:1 Changed 3 years ago by cameron

  • Component changed from ContentLicensing to General

comment:2 Changed 3 years ago by brent

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

Fixed in [783] by reverting to the default Plone for search_form.

comment:3 Changed 3 years ago by brent

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:4 Changed 3 years ago by brent

  • Status changed from reopened to resolved
  • Resolution set to fixed

comment:5 Changed 3 years ago by cameron

  • Status changed from resolved to closed

Verified resolved.

Note: See TracTickets for help on using tickets.