Bug #12863
Attributes of a viewhelper can't contain a '-'
Status: | New | Start date: | 2011-02-08 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Sebastian Kurfuerst | % Done: | 0% |
|
Category: | Core | |||
Target version: | - | |||
Has patch: | No | Affected Flow version: | FLOW3 1.0.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
#1 Updated by Sebastian Kurfuerst about 4 years ago
- Category set to Core
- Assigned To set to Sebastian Kurfuerst
- Priority changed from Should have to Must have
- Target version set to 1.0 beta 1
#2 Updated by Sebastian Kurfuerst about 4 years ago
- Parent task set to #26665
- Has patch set to No
#3 Updated by Sebastian Kurfuerst about 4 years ago
- Tracker changed from Task to Bug
- Parent task deleted (
#26665)
#4 Updated by Sebastian Kurfuerst almost 5 years ago
- Priority changed from Must have to Should have
- Target version changed from 1.0 beta 1 to 1230
#5 Updated by Karsten Dambekalns almost 4 years ago
- Target version deleted (
1230)
#6 Updated by Karsten Dambekalns almost 4 years ago
- Affected Flow version set to FLOW3 1.0.0