New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traceback when unauthenticated #4

Closed
rodfersou opened this Issue Nov 5, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@rodfersou
Copy link
Member

rodfersou commented Nov 5, 2018

2018-11-05 17:55:28 ERROR Zope.SiteErrorLog 1541447728.780.556996271402 http://rodrigo.dedyn.io:58080/Plone/board/view
Traceback (innermost last):
  Module ZPublisher.Publish, line 138, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 48, in call_object
  Module collective.ploneboard.browser.messageboard, line 12, in __call__
  Module Products.Five.browser.pagetemplatefile, line 125, in __call__
  Module Products.Five.browser.pagetemplatefile, line 59, in __call__
  Module zope.pagetemplate.pagetemplate, line 137, in pt_render
  Module five.pt.engine, line 98, in __call__
  Module z3c.pt.pagetemplate, line 163, in render
  Module chameleon.zpt.template, line 261, in render
  Module chameleon.template, line 191, in render
  Module chameleon.template, line 171, in render
  Module 405ea06e87232a55436c4ebd25173e3b.py, line 797, in render
  Module 9cfa7a59a836de9940eedf5028816633.py, line 1223, in render_master
  Module 9cfa7a59a836de9940eedf5028816633.py, line 458, in render_content
  Module 405ea06e87232a55436c4ebd25173e3b.py, line 785, in __fill_main
  Module 405ea06e87232a55436c4ebd25173e3b.py, line 604, in render_main
KeyError: 'last_comment_date'

 - Expression: "python:toLocalizedTime(conversation['last_comment_date'])"
 - Filename:   /home/rodfersou/.projects/collective.ploneboard/src/collective/ploneboard/browser/messageboard.pt:56:54
 - Source:     ... ="python:toLocalizedTime(conversation['last_comment_date'])" ...
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 - Arguments:  repeat: {...} (0)
               template: <ViewPageTemplateFile - at 0x7fcb9a331c90>
               views: <ViewMapper - at 0x7fcb99b2c250>
               modules: <instance - at 0x7fcbaf8a0128>
               args: <tuple - at 0x7fcbb3c90050>
               here: <ImplicitAcquisitionWrapper board at 0x7fcb99deff00>
               user: <ImplicitAcquisitionWrapper - at 0x7fcba0dceaa0>
               nothing: <NoneType - at 0x7fcbb4456de0>
               container: <ImplicitAcquisitionWrapper board at 0x7fcb99deff00>
               request: <instance - at 0x7fcba146c5f0>
               wrapped_repeat: <SafeMapping - at 0x7fcb998f1c58>
               traverse_subpath: <list - at 0x7fcb99df6998>
               default: <object - at 0x7fcbb3c66550>
               loop: {...} (2)
               context: <ImplicitAcquisitionWrapper board at 0x7fcb99deff00>
               view: <MessageboardView view at 0x7fcb99b2c1d0>
               translate: <function translate at 0x7fcb99ae2398>
               root: <ImplicitAcquisitionWrapper Zope at 0x7fcba0fcde10>
               options: {...} (0)
               target_language: <NoneType - at 0x7fcbb4456de0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment