Open GoogleCodeExporter opened 9 years ago
I believe the reason for this is behavior is that SingleLine0 is (and the group
that it's in are) not relevant unless RadioButton_5 is yes. So when you save
the form with RadioButton_5 as blank, JavaROSA throws away any default values
you've stored in SingleLine0 because those values are not relevant. When you
re-load the form, it loads that instance with SingleLine0 thrown away and shows
you that.
I think JavaROSA is doing what it was designed to do. It's not a bug, per se,
but it is dangerous behavior that we should probably change. No idea how hard
it'll be to fix, but in the meantime, if you want something to stick around
when you save, you have to make it relevant.
So in this case if you want the default value of SingleLine0 to stick around,
you need to make it relevant regardless of what is selected in RadioButton_5.
Original comment by yano...@nafundi.com
on 8 May 2014 at 4:37
Original issue reported on code.google.com by
yano...@nafundi.com
on 8 May 2014 at 4:37Attachments: