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

Entities appear in a non-entity external select form using a CSV with the name of a dataset #6425

Open
dbemke opened this issue Sep 19, 2024 · 1 comment

Comments

@dbemke
Copy link

dbemke commented Sep 19, 2024

ODK Collect version

the master version 66e9c1f

Android version

10, 14

Device used

Redmi 9T, Pixel 7a

Problem description

If in a project there are forms with entities and a form with external select using a CSV with a name of the dataset other forms use, in Collect the external select form shows entities instead of its proper CSV data.
I don't know if it's ok for the time being but I decided to file an issue to keep steps to reproduce for the future.

Steps to reproduce the problem

  1. Create a project with entities form using trees dataset and a form with select one from file with the file name of the dataset (trees). (e.g. user one in https://staging.getodk.cloud/#/projects/101/app-users ). While uploading the select form in Central upload the CSV with hospitals (attached trees.csv).
    select one from file dataset name.xlsx.txt
    trees.csv
  2. Open select one from file dataset name form (In this form there should be hospitals not trees).

Expected behavior

The form should contain proper data.

@seadowg
Copy link
Member

seadowg commented Oct 8, 2024

This is currently expected. My assumption was that this generally won't be a problem, but @lognaturel has brought up that some form testing workflows might run into problems here. I'm currently leaning towards closing this as not planned, and opting for improvements around how Central's Drafts work with entities (so that kind of workflow isn't required), but definitely up for discussing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: not ready
Development

No branches or pull requests

2 participants