When having unique columns that allow a value of zero (numeric or string), KModelState::getData(true) fails to return the expected state due to the fact that checks over the state values are performed using the empty PHP function. This has a direct impact on the model behavior, as the state is not considered as unique. The empty function returns true on values like 0 and "0". An extra check must be performed in order to allow these values which are legitimate and should be considered as valid. 
When having unique columns that allow a value of zero (numeric or string), KModelState::getData(true) fails to return the expected state due to the fact that checks over the state values are performed using the empty PHP function. This has a direct impact on the model behavior, as the state is not considered as unique. The empty function returns true on values like 0 and "0". An extra check must be performed in order to allow these values which are legitimate and should be considered as valid. 

timble/kodekit,timble/kodekit,timble/kodekit