[Zope-dev] TAL i18n breakage in 2.7

Stephan Richter stephan.richter at tufts.edu
Thu Feb 19 09:10:30 EST 2004


On Thursday 19 February 2004 08:08, seb bacon wrote:
> Zope 2.7 introduced a change in its translation interface.  Previously a
> translation service could return None, but now returning None causes an
> assertion error.
>
> http://cvs.zope.org/Zope/lib/python/TAL/TALInterpreter.py.diff?r1=1.77&r2=1
>.78
>
> This will break applications (e.g. Plone1) which use Nuxeo's
> TranslationService, which does return None.  Is there a good reason for
> introducing this compatibility breakage?

That is strange. The Zope 3 translation service can also still return None and 
we use the same TAL code. I cannot see which code change would not handle the 
None.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training



More information about the Zope-Dev mailing list