CF / Lucee incompatibility for bit values and cfupdate

Description

Updating bit values in a database which are coming from checkboxes on a html page is resulting in an error.
Have a look to this sample code:
go_cbtest.cfm

go_cbtest_action.cfm

This code works fine on CF 9.01. Lucee throws this error:


Lucee can't decode the "on" value of the checkbox to a binary "1".

There is a workaround though, by adding value = "1" to the input tag:

So, not a real show stopper, but definitely an incompatibility which could be resolved with a limited amount of extra code.

Environment

None

Status

Assignee

Michael Offner

Reporter

Gunter Otté

Labels

Affects versions

Priority

New
Configure