TALES: ?key access fails if key is an integer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zope.tales |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
<tal:define tal:define=
<span tal:content=
</tal:define>
fails:
Time
2004/12/17 15:13:58.055 GMT+1
User Name (User Id)
ajung (ajung)
Request URL
http://
Exception Type
TypeError
Exception Value
iteration over non-sequence
Traceback (innermost last):
* Module ZPublisher.Publish, line 101, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 39, in call_object
* Module Shared.
* Module Shared.
* Module Products.
* Module Products.
<
* Module TAL.TALInterpreter, line 190, in __call__
* Module TAL.TALInterpreter, line 234, in interpret
* Module TAL.TALInterpreter, line 409, in do_optTag_tal
* Module TAL.TALInterpreter, line 394, in do_optTag
* Module TAL.TALInterpreter, line 389, in no_tag
* Module TAL.TALInterpreter, line 234, in interpret
* Module TAL.TALInterpreter, line 484, in do_insertText_tal
* Module Products.
* Module Products.
URL: /zopyx/tmp/p1
Line 4, Column 2
Expression: standard:
Names:
affects: | zope2 → zope.tales |
summary: |
- TALES: ?key acces fails if key is an integer + TALES: ?key access fails if key is an integer |
When we document the '?' syntax for elements in a path expression, we
will specify that the value of the sub-key expression must be a string.