Bug#397742: DeprecationWarning: Space separated attributes in
i18n:attributes are deprecated
speeves
speeves at unt.edu
Thu Nov 9 05:51:46 CET 2006
Package: zope-cmfphotoalbum
Version: 0.5.0-7
Severity: normal
Tags: patch
When trying to view a photoalbum object, I was getting the following error:
/usr/lib/zope2.9/lib/python/TAL/TALGenerator.py:863: DeprecationWarning: Space separated attributes in i18n:attributes are deprecated (i18n:attributes="value title"). Please use semicolon to separate attributes (i18n:attributes="value; title").
File file:CMFPhotoAlbum/skins/photoalbum_content/photoalbum_photo_view.pt at row, column (55, 8)
Attributes alt title
, DeprecationWarning)
Here is the patch to fix this issue:
--- photoalbum_photo_view.pt.orig 2006-11-08 22:44:55.000000000 -0600
+++ photoalbum_photo_view.pt 2006-11-08 22:45:13.000000000 -0600
@@ -52,7 +52,7 @@
<metal:block fill-slot="documentActions" tal:define="b_start python:request.get('b_start', 0)">
<a href="" tal:attributes="href string:${request/URL1}/view?b_start=$b_start">
- <img tal:attributes="src string:$portal_url/folder_icon.gif" i18n:attributes="alt title" alt="Back to album" title="Back to album" />
+ <img tal:attributes="src string:$portal_url/folder_icon.gif" i18n:attributes="alt; title" alt="Back to album" title="Back to album" />
</a>
</metal:block>
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
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.24 common settings and scripts for zo
ii zope2.8 2.8.8-2 Open Source Web Application Server
zope-cmfphotoalbum recommends no packages.
-- no debconf information
More information about the pkg-zope-developers
mailing list