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.

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Sentry

Created May 23, 2022 at 5:49 PM
Updated October 24, 2023 at 11:28 AM
Resolved October 24, 2023 at 11:28 AM