getodk/javarosa

jr:choice-name() broken when used in repeats

tiritea opened this issue · 2 comments

Software versions

JavaRosa v1.x.x, Java v1.x.x, operating system

Problem description

jr:choice-name() always returns nothing when used against a select question inside a repeat loop. Probably due to the relative reference produced by pyxform for the quoted select question reference

ODK Forum discussion here: https://forum.opendatakit.org/t/problem-with-odk-calculation-field/19619

Steps to reproduce the problem

same form available from: https://forum.opendatakit.org/t/problem-with-odk-calculation-field/19619

Expected behavior

Other information

Things you tried, stack traces, related issues, suggestions on how to fix it...

Hello @lognaturel, you claimed this issue to work on it, but this issue and any referenced pull requests haven't been updated for 10 days. Are you still working on this issue?

If so, please update this issue by leaving a comment on this issue to let me know that you're still working on it. Otherwise, I'll automatically remove you from this issue in 5 days.

If you've decided to work on something else, simply comment @opendatakit-bot unclaim so that someone else can claim it and continue from where you left off.

Thank you for your valuable contributions to Open Data Kit!

#486 should address this. In an attempt to minimize context switching, @ggalmazor will wait a few more days to see if we can get another PR or two in for the next release.