Bug #12863
Attributes of a viewhelper can't contain a '-'
| Status: | New | Start date: | 2011-02-08 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Sebastian Kurfuerst | % Done: | 0% |
|
| Category: | Core | |||
| Target version: | - | |||
| Has patch: | No | FLOW3 version affected: | FLOW3 1.0.0 | |
| Votes: | 0 |
Description
It seems that a '-' in the key of an attribute destroys everything
example of viewhelper
<f:for each="{wallpapers}" as="wallpaper">
<w:download allow-Upscaling="1" src="uploads/tx_wallpaper/{wallpaper.image}">1920 x 1200</w:download><br />
</f:for>
gives the error
Templating tags not properly nested. Expected: Tx_Fluid_ViewHelpers_ForViewHelper; Actual: Tx_Wallpaper_ViewHelpers_DownloadViewHelper
2 possible solutions (IMHO):
- Allow the '-'
- Define allowed chars (a-z,0-9) and throw a correct exception
History
Updated by Sebastian Kurfuerst about 2 years ago
- Category set to Core
- Assignee set to Sebastian Kurfuerst
- Priority changed from Should have to Must have
- Target version set to 1.0 beta 1
Updated by Sebastian Kurfuerst about 2 years ago
- Parent task set to #26665
- Has patch set to No
Updated by Sebastian Kurfuerst about 2 years ago
- Tracker changed from Task to Bug
- Parent task deleted (
#26665)
Updated by Sebastian Kurfuerst almost 2 years ago
- Priority changed from Must have to Should have
- Target version changed from 1.0 beta 1 to 1230
Updated by Karsten Dambekalns over 1 year ago
- Target version deleted (
1230)
Updated by Karsten Dambekalns over 1 year ago
- FLOW3 version affected set to FLOW3 1.0.0