Problem description
While working on this issue, I discovered a bug in Javarosa. The issue is that when a question of type date
is used to create an entity label, then after opening a follow-up form it is incorrectly identified as dateTime
instead of date
.
The test I created in Collect demonstrates this issue, and the forms can also be used for reproducing it: Relevant Code Reference.
Steps to reproduce the problem
- Use the forms provided in this link.
- Fill out and save the registration form.
- Open the follow-up form. You’ll notice that the label value built using the
date
question type appears as if it were generated by a dateTime
question type.