+
Skip to content

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

@grzesiek2010

Description

@grzesiek2010

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载