An issue came up with the abstractGateway. I justed added some code like this:

<cfset Query.getWhere().isLte("table", "field", value) />

Where I ran it, I received this error:
Message cannot convert the value "10,0" to a boolean
Detail
Extended Info
Tag Context C:\webdev\localhost\frameworks\Reactor\base\abstractGateway.cfc (167)
Changing that line:
<cfif NOT arguments.Query.getField(whereNode.object, whereNode.field).length>
to this:
<cfif arguments.Query.getField(whereNode.object, whereNode.field).length GT 0>

allowed me to get around the issue for now, but didn't really solve the problem. Now what is bizzare is that I use the "isEqual()" in the same function and have never seen this issue even though the abstractGateway uses the same logic on line 107. Any idea why the ".length" would return multiple values like this, causing this error?




Reply via email to