[zope2-tracker] [Bug 436621] [NEW] 'provider' TALES expression chokes on spaces

altonator adam.alton at teamrubber.com
Fri Sep 25 09:41:48 EDT 2009


Public bug reported:

<div tal:replace="structure provider:my_content_provider" /> works fine.
But if you put a space after provider: then it fails to find the specified content provider.

Given that  a content provider's name can't start with a space, and also
given that "python: something()" works fine with a space in it, it seems
to make sense that "provider: my_content_provider" would work with a
space in it as well.

 Zope Version
(Zope 2.10.9-final, python 2.4.4, darwin)
Python Version
2.4.4 (#1, Oct 18 2006, 10:34:39) [GCC 4.0.1 (Apple Computer, Inc. build 5341)]

** Affects: zope2
     Importance: Undecided
         Status: New


** Tags: content providers tales

** Description changed:

  <div tal:replace="structure provider:my_content_provider" /> works fine.
  But if you put a space after provider: then it fails to find the specified content provider.
  
  Given that  a content provider's name can't start with a space, and also
  given that "python: something()" works fine with a space in it, it seems
  to make sense that "provider: my_content_provider" would work with a
  space in it as well.
+ 
+  Zope Version
+ (Zope 2.10.9-final, python 2.4.4, darwin)
+ Python Version
+ 2.4.4 (#1, Oct 18 2006, 10:34:39) [GCC 4.0.1 (Apple Computer, Inc. build 5341)]

-- 
'provider' TALES expression chokes on spaces
https://bugs.launchpad.net/bugs/436621
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.


More information about the zope2-tracker mailing list