XLSForm with Round off function not working

Getting an error when uploading a form with the round off function ODK Validate Errors: >> Something broke the parser. See above for a hint. Error evaluating field 'fiendname': For input string: "?" Caused by: java.lang.NumberFormatException: For input string: "?" ... 10 more Result: Invalid. I am using Ona to upload the form.
Has anything been changed on how the round off function works?

Can you share a small form that has just that round off function you are using? That'll help the community reproduce the problem.

Hi Yanokwa,

Access the sample form here

1 Like

I can confirm that this form works with Validate 1.4.9, but fails with Validate 1.5.0. The problem was likely introduced at https://github.com/opendatakit/javarosa/pull/33 and I've filed an issue at https://github.com/opendatakit/javarosa/issues/71 so we can track it down and fix it.

This is high priority for us and we'll try to get it fixed in the next few days so it can be in the release at the end of the month.

Huge thanks for reporting the issue and including a sample form. It's a huge contribution because without your report, we would have never known this problem existed.

Hi Barbara. I’m the developer who “improved” things such that an ancient harmless bug suddenly came alive and harmed—you. We have fixed that bug. @LN says you may expect an update on the 25th, and that you may also be able to get in touch with the Ona folks and get them to pull the changes earlier.

Sorry for the disruption, and thanks for letting us know.

2 Likes

Thank you @yanokwa and @dcbriccetti for the quick turn around time on the issue. I work for Ona and a client had raised the issue with us. I will update our technical team on this. Thank you once again.