Bug #12863
Attributes of a viewhelper can't contain a '-'
Start date:
2011-02-08
Due date:
% Done:
0%
Estimated time:
Has patch:
No
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
Updated by Sebastian Kurfuerst almost 10 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 almost 10 years ago
- Tracker changed from Task to Bug
- Parent task deleted (
#26665)
Updated by Sebastian Kurfuerst over 9 years ago
- Priority changed from Must have to Should have
- Target version changed from 1.0 beta 1 to 1230