FieldGroup could not convert value to Number

Vaadin 7.1.2.

i have a trouble with fieldgroup class, when i try to bind a Long field. I get a validation message error "could not convert value to Number ".


bean= new PropertysetItem();
bean.addItemProperty(“test”, new ObjectProperty(new Long(0)));

fieldGroup=new FieldGroup();
fieldGroup.setItemDataSource(bean);
fieldGroup.bindMemberFields(myCustomComponent);
fieldGroup.setBuffered(true);

With Integer,Double, Float, etc… work ok. any idea?
Sorry by my english.

Hi, this is a bug in Vaadin, please see
ticket #12225
.