FLUID-4385: Non-string values supplied as attribute decorator values will cause exception in renderer pipeline

Metadata

Source
FLUID-4385
Type
Bug
Priority
Major
Status
Open
Resolution
N/A
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2011-08-03T03:33:52.782-0400
Updated
2015-06-09T14:13:45.352-0400
Versions
  1. 1.4
  2. 1.5
Fixed Versions
N/A
Component
  1. Renderer

Description

As reported by Åz in IRC today - messages of the form "1 has no method named 'replace'" when supplying, e.g. attrs: {key: 3}. This occurs when attempting to XML-encode the attribute value. Simple primitive values should be converted to strings first as a courtesy.