I think this needs to be corrected.
The situation is I'm using a published field in my component, and this field type is integer.
The field is displayed as radio buttons in the edit form, and whatever I choose 'Yes' or 'No', the saved value is 'Yes'
I looked into the code and found this in the check() function of the table"
if ($this->published == null)
$this->published = 1;
I guessed that this is the problem because 0 is evaluated as null, and it worked correct when I changed it to:
if ($this->published === null)
$this->published = 1;