'provider' TALES expression chokes on spaces

Bug #436621 reported by altonator on 2009-09-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

<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)]

altonator (adam-alton) on 2009-09-25
description: updated
affects: zope2 → zope.contentprovider
Colin Watson (cjwatson) wrote :

The zope.contentprovider project on Launchpad has been archived at the request of the Zope developers (see https://answers.launchpad.net/launchpad/+question/683589 and https://answers.launchpad.net/launchpad/+question/685285). If this bug is still relevant, please refile it at https://github.com/zopefoundation/zope.contentprovider.

Changed in zope.contentprovider:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers