Resolution: Won't Fix
Affects Version/s: None
Fix Version/s: 1.3.5
Environment:Replicated on Windows XP and Mac OS X
Setup: Create a radio group that's tied to a propertymodel which is set to '0' by default, e.g.:
RadioGroup myRadioGroup = new RadioGroup("interval"); // interval is an int property of a bean
When saving the form one encounters this error:
org.apache.wicket.util.convert.ConversionException: Can't convert null value to a primitive class: int for setting it on com.evite.event.model.EventSchedule@1b33228[id=<null>]
When setting the value to anything else but '0' it doesn't throw this. Also, changing the model type to Integer fixes the issue.
Suspected bug and this issue was opened per Johan's request.