Bug#414982: zope-cmfphotoalbum: CMFPhotoAlbum fails on obsolete
call to toPortalTime()
Alastair McKinstry
mckinstry at debian.org
Thu Mar 15 11:02:24 CET 2007
Package: zope-cmfphotoalbum
Version: 0.5.0-9
Severity: important
Tags: patch
CMFPhotoAlbum breaks and is unusable in Etch due to calls to
toPortalTime(). It works when these are substitued by calls to
toLocalizedTime().
However according to CMFPlone/HISTORY.txt:
- toLocalizedTime() replaced toPortalTime(). However this is NOT the
way it
should be and will be revised.
http://dev.plone.org/plone/ticket/2461
It appears as thought toLocalizedTime() is being deprecated, though the
website stated above is unreachable at the moment.
According to CMFPlone/HISTORY
t3eu30:/usr/share/zope/Products# grep -r toPortalTime *
Archetypes:1.3/HISTORY.txt: * Finally changing the last toPortalTime
call to toLocalizedTime
ATExtensions/skins/at_extensions/datetime_widget.pt:
result python:(format and formatted) or (d and here.toPortalTime(d,
long_format=1));"
CMFPhotoAlbum/skins/photoalbum_content/photoalbum_photo_view.pt:
tal:content="python:here.toPortalTime(DateTime(raw_date),
long_format=1)"></span>
CMFPhotoAlbum/skins/photoalbum_content/photoalbum_view.pt:
global toPortalTime nocall:here/toPortalTime;">
CMFPlone/HISTORY.txt: - Re-added toPortalTime script which was
accidentally removed earlier. It
CMFPlone/HISTORY.txt: - toLocalizedTime() replaced toPortalTime().
However this is NOT the way it
LinguaPlone/skins/LinguaPlone-Compat20/folder_listing.pt:
global toPortalTime nocall:here/toPortalTime;">
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-powerpc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages zope-cmfphotoalbum depends on:
ii zope-cmfphoto 0.5.0-8 photo module for zope content mana
ii zope-common 0.5.31 common settings and scripts for zo
ii zope2.9 2.9.6-3 Open Source Web Application Server
zope-cmfphotoalbum recommends no packages.
-- no debconf information
More information about the pkg-zope-developers
mailing list