CBRequest postRender of AdminBar will throw errors if Buffer is flushed to Browser
Description
Because the postRender of the Admin bar uses the cfhtmlhead function, if the response buffer is flushed to the browser ( e.g. with a very large rendering of page content such as a big datatable ) before the invocation of the method, an error is thrown because it is too late to add to the document head.
Suggest changing the code to either fail silently, or write out a javascript template, which can then be rendered to the DOM via javascript.
Attachments
1
Activity
Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.
Because the
postRender
of the Admin bar uses thecfhtmlhead
function, if the response buffer is flushed to the browser ( e.g. with a very large rendering of page content such as a big datatable ) before the invocation of the method, an error is thrown because it is too late to add to the document head.Suggest changing the code to either fail silently, or write out a javascript template, which can then be rendered to the DOM via javascript.