Title:
Bug 86945:-(Watson Migration Closure)If you try to use a simple value with cfcontent and the variable attribute, it throws an error
| View in TrackerStatus/Resolution/Reason: Closed/Deferred/
Reporter/Name(from Bugbase): Raymond Camden / Raymond Camden (Raymond Camden)
Created: 06/16/2011
Versions: 9.0.1
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Platforms All
Vote Count: 2
Problem:
If you try to use a simple value with cfcontent and the variable attribute, it throws an error. Sure you can get around it by not using variable and just cfoutputting the value, but there is no good reason why cfcontent's variable attribute should prevent simple values.
Method:
This should be supported:<cfset name = "Ray"><cfcontent type="text/plain" variable="#name#">
Result:
Attribute validation error for tag cfcontent.java.lang.String is not a supported variable type. The variable is expected to contain binary data.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3043864
External Customer Info:
External Company:
External Customer Name: Raymond Camden
External Customer Email: 5FBC41E943BD265C992015D5
External Test Config: 06/16/2011
Attachments:
Comments: