Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entity labels generated from date questions are incorrectly interpreted as dateTime in follow-up forms #807

Open
grzesiek2010 opened this issue Nov 15, 2024 · 0 comments
Assignees

Comments

@grzesiek2010
Copy link
Member

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

  1. Use the forms provided in this link.
  2. Fill out and save the registration form.
  3. 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant