HtmlHead and HtmlBody ignore Silent state

Description

cfhtmlhead and cfhtmlbody produce content even when wrapped in a cfsilent

Environment

None

Activity

Show:

Zac Spitzer 20 May 2023 at 14:55

Michael Offner 27 November 2017 at 13:51

this issue is not fixed

Michael Offner 27 November 2017 at 13:45

i'm getting this

Failed: test.tickets.LDEV1518.Checking cfsilent in tag based ---> Expected [test] but received [Htmlhead [java] [script] [java] [script] test [java] [script] Htmlbody] [java] [script] at [java] [script] /Users/mic/Projects/Lucee/Lucee5/test/tickets/LDEV1518.cfc:12 [java] [script] [java] [script] Errored: test.tickets.LDEV1537.Checking cfmail tag with from attribute, from address with colon ---> read access is protected [java] [script] at [java] [script] /Users/mic/Projects/Lucee/Lucee5/test/tickets/LDEV1537/test2.cfm:10

Igal Sapir 25 October 2017 at 17:36

Problem is that when bufferOutput is set to true then bodyContent isn't set to devnull. Need to find a good way to tell if we're in Silent mode.

Pothys - MitrahSoft 25 September 2017 at 08:28

I've added testcase for this ticket.

Pull request: https://github.com/lucee/Lucee/pull/311

Fixed

Details

Assignee

Reporter

Priority

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 25 September 2017 at 04:24
Updated 20 May 2023 at 14:55
Resolved 25 October 2017 at 16:04

Flag notifications