Personal tools
You are here: Home Documentation Issue Trackers Migration of Plone 3.0.5 to 3.2.1 Clicking on an event causes an error

#1 — Clicking on an event causes an error

State Resolved
Area User interface
Issue type Bug
Severity Medium
Submitted by Marshall Scorcio
Submitted on Feb 27, 2009
Responsible Marshall Scorcio
Return to tracker
Last modified on Mar 02, 2009 by Marshall Scorcio
Clicking on an upcoming event or an event in the full calendar, causes an error.

Error message:

Module zope.tales.tales, line 696, in evaluate
URL: file:/opt/Plone-3.2.1r3/buildout-cache/eggs/Plone-3.2.1-py2.4.egg/Products/CMFPlone/skins/plone_content/event_view.pt
Line 90, Column 34
Expression: <PythonExpr here.toLocalizedTime(here.start(), time_only=1)>
Names:

{'container': <PloneSite at /sites2/cobaintranet>,
 'context': <ATEvent at /sites2/cobaintranet/events/cob-faculty-meeting-april-03-2009>,
 'default': <object object at 0x2ba0abb5d200>,
 'here': <ATEvent at /sites2/cobaintranet/events/cob-faculty-meeting-april-03-2009>,
 'loop': {},
 'nothing': None,
 'options': {'args': ()},
 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x1d11bf38>,
 'request': <HTTPRequest, URL=http://plonedev.uwosh.edu/[…]/event_view>,
 'root': <Application at >,
 'template': <FSPageTemplate at /sites2/cobaintranet/event_view used for /sites2/cobaintranet/events/cob-faculty-meeting-april-03-2009>,
 'traverse_subpath': [],
 'user': <PloneUser 'iversen'>}
Added by vangheemn on Feb 27, 2009 04:56 PM
Make sure you follow the upgrade guide,

http://plone.org/documentation/manual/upgrade-guide
Added by Marshall Scorcio on Mar 02, 2009 02:32 PM
Issue state: unconfirmedresolved
Responsible manager: (UNASSIGNED)scorcm43
Added new string property "localTimeOnlyFormat" with value "%I:%M %p" to /portal_properties/site_properties. This fixes the problem.

Fix was found on the plone forums:
http://n2.nabble.com/Bug--8[…]2.1--td2314318ef293352.html

It looks like a patch has been applied upstream for Plone 3.2.2 that fixes this issue:
http://dev.plone.org/plone/ticket/8607
You must log in to add a response