Ticket #532 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Changing state from Course Summary/ state view causes traversal error

Reported by: tom Owned by: brent
Priority: major Milestone: 3.2.0-eng
Component: General Version: eduCommons
Keywords: Cc:

Description

Clicking on a state label in the Course Summary portlet displays a list of course objects currently in that state. But changing state from this view generates a traversal site error. This view is very useful so eliminating it is not a good option. Also, for some reason there is no "select all" option in this view.

Here is the traversal error:

Exception traceback

Time 2008/06/12 11:39:32.570 GMT-6 User Name (User Id) factadmin (factadmin) Request URL http://ocw.usu.edu/eduCommons/Instructional_Technology/flash/summary_contents Exception Type TraversalError? Exception Value (<HTTPRequest, URL=http://ocw.usu.edu/eduCommons/Instructional_Technology/flash/summary_contents>, 'state')

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 89, 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 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 949, in do_defineSlot
  • 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 40, Column 8 Expression: <PathExpr? standard:'view/contents_table'> Names:

{'container': <Course at /eduCommons/Instructional_Technology/flash>,

'context': <Course at /eduCommons/Instructional_Technology/flash>, 'default': <object object at 0xb7f5e528>,

'here': <Course at /eduCommons/Instructional_Technology/flash>, 'loop': {}, 'nothing': None, 'options': {'args': (<Products.Five.metaclass.SimpleViewClass? from /opt/Zope-2.10.5/prod/usuocw1/client1/lib/python/plone/app/content/browser/foldercontents.pt object at 0x114b4c4c>,)},

'repeat': <Products.PageTemplates?.Expressions.SafeMapping? object at 0x114b4fec>, 'request': <HTTPRequest, URL=http://ocw.usu.edu/eduCommons/Instructional_Technology/flash/summary_contents>,

'root': <Application at >, 'template': <ImplicitAcquirerWrapper? object at 0x114b432c>, 'traverse_subpath': [], 'user': <PloneUser? 'factadmin'>, 'view': <Products.Five.metaclass.SimpleViewClass? from /opt/Zope-2.10.5/prod/usuocw1/client1/lib/python/plone/app/content/browser/foldercontents.pt object at 0x114b4c4c>,

'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper? object at 0x114b452c>}

  • 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 Products.eduCommons.browser.summarycontents, line 30, in contents_table
  • Module plone.app.content.browser.foldercontents, line 109, 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 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 zope.tales.tales, line 696, in evaluate URL: /opt/Zope-2.10.5/prod/usuocw1/client1/Products/eduCommons/browser/summary_table.pt Line 32, Column 4 Expression: <PathExpr? standard:u'view/batching'> Names:

{'args': (),

'context': None, 'default': <object object at 0xb7f5e528>, 'loop': {}, 'nothing': None, 'options': {}, 'repeat': {},

'request': <HTTPRequest, URL=http://ocw.usu.edu/eduCommons/Instructional_Technology/flash/summary_contents>, 'template': <zope.app.pagetemplate.viewpagetemplatefile.ViewPageTemplateFile? object at 0xb46d656c>,

'usage': <zope.pagetemplate.pagetemplate.TemplateUsage? object at 0xaae8472c>, 'view': <Products.eduCommons.browser.summarycontents.SummaryTable? object at 0xaf617f0c>, 'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper? object at 0xacc782cc>}

  • Module zope.tales.expressions, line 217, in call
  • Module zope.tales.expressions, line 211, in _eval
  • 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 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 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: /opt/Zope-2.10.5/prod/usuocw1/client1/Products/eduCommons/browser/summary_batching.pt Line 21, Column 8 Expression: <StringExpr? u'${view/url}?pagenumber=${batch/nextpage}&state=${request/state}&sort_on=${request/sort_on|string:getObjPositionInCourse}'> Names:

{'args': (),

'context': None, 'default': <object object at 0xb7f5e528>, 'loop': {}, 'nothing': None, 'options': {}, 'repeat': {},

'request': <HTTPRequest, URL=http://ocw.usu.edu/eduCommons/Instructional_Technology/flash/summary_contents>, 'template': <zope.app.pagetemplate.viewpagetemplatefile.ViewPageTemplateFile? object at 0xb46d652c>,

'usage': <zope.pagetemplate.pagetemplate.TemplateUsage? object at 0xabed812c>, 'view': <Products.eduCommons.browser.summarycontents.SummaryTable? object at 0xaf617f0c>, 'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper? object at 0xabed8bcc>}

TraversalError?: (<HTTPRequest, URL=http://ocw.usu.edu/eduCommons/Instructional_Technology/flash/summary_contents>, 'state')

Change History

comment:1 Changed 6 years ago by jon

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

Fixed in changeset [4371]

Note: See TracTickets for help on using tickets.