How do I set Handle Unquoted Attr Value As String in application.cfc

application.cfc

this.serialization.preserveCaseForQueryColumn = true;
this.serialization.serializeQueryAs = “struct”;
this.serialization.preserveCaseForQueryColumn = true;
this.sessionManagement = true;
this.nullSupport=true;
this.handleUnquotedAttrValueAsString=false;

The setting: handleUnquotedAttrValueAsString does not work. We are trying to spin up a docker instance but this application needs the “Unquoted Attr” setting set to false. How can we do that?

OS: AWS Linux
Java Version: 11.0.7 (AdoptOpenJDK) 64bit
Tomcat Version: Apache Tomcat/9.0.35
Lucee Version: Lucee 5.3.6.61

coz it’s a compiler setting, it needs to be set at the server level, as such you can’t set it via Application.cfc

So if I were to set it using cfadmin? How would I do that? Is there a better way?

<cfadmin
    action="getCompilerSettings"
    type="web"
    password="**********"
    returnVariable="admin_result" />

<cfdump var="#admin_result#" />
<cfif admin_result.handleUnquotedAttrValueAsString EQ true>
<cfadmin
    action="updateCompilerSettings"
    DotNotationUpperCase="false"
    externalizeStringGTE="-1"
    handleUnquotedAttrValueAsString="true"
    nullSupport="true"
    suppressWSBeforeArg="true"
    templateCharset="UTF-8"
    type="web"
    password="**********" />
</cfif>

This appears to be the solution.