rbuchli / formbinder

Automatically exported from code.google.com/p/formbinder
0 stars 0 forks source link

Annotated binding does not bind fields in super classes #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start with a class with a field to be bound.
2. Extend the class.
3. Bind the form.

I attached a unit test that I wrote to test whether the form binder was also 
binding fields from super classes.

What is the expected output? What do you see instead?
- I was expecting to fields in the super classes to also be bound. However, I 
found that this wasn't the case (the testBindToInheritedProperty and 
testBindToGrandParentProperty tests were failing).

What version of the product are you using? On what operating system?
- I used revision 7389308b7f0c4a08283d9259ea84e9f6df3c193c cloned from the 
repository https://code.google.com/p/formbinder.

Please provide any additional information below.
- I haven't tested with the non-annotation method yet.

Original issue reported on code.google.com by kah....@gmail.com on 31 Oct 2012 at 12:30

Attachments:

GoogleCodeExporter commented 8 years ago
I've attached fix.patch which contains a fix that I've been experimenting on.

Original comment by kah....@gmail.com on 31 Oct 2012 at 12:48

Attachments:

GoogleCodeExporter commented 8 years ago
Any updates according this patch ? Is there a release that will come with it ?

Thank you.

Original comment by jym...@gmail.com on 13 Dec 2012 at 6:10