Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce
Reporter/Name(from Bugbase): Maulik Naik / Maulik Naik ()
Created: 08/15/2017
Components: CFForm
Versions: 11.0
Failure Type: Others
Found In Build/Fixed In Build: NA /
Priority/Frequency: Normal /
Locale/System: / Windows 7
Vote Count: 0
Problem Description:
Code generates error as below.
Unable to add text to HTML HEAD tag.
ColdFusion was unable to add the text you specified to the output stream. This is probably because you have already used a CFFLUSH tag in your template or buffered output is turned off.
The CF Admin > Settings > Maximum Output Buffer size is set as 1024 KB. Though, it says that when the limit is reached, it will automatically flush the output steam. If that was the case, then we should not see the related error.
PLEASE NOTE: There is no CFFLUSH in the code, so error message is misleading to developers.
Steps to Reproduce:
The error log file shows error at <cfselect tag within <cfform tag. By view source, it shows the last output content is the <form tag output by the <cfform tag. Even though there is HTML code right after that, it does not show in the view source. But still, the last output content is the <form tag, and always the error log says issue with <cfselect tag irrespective of where that tag is.
Actual Result:
ERROR as described below.
Expected Result:
Not ERROR
Any Workarounds:
Re-write the app without using <cfform and related UI tags.
Attachments:
Comments: