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

When a static CSV with the same name as an Entity List in the project is attached to a form, the Entity List is always used #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!

@lognaturel lognaturel changed the title Entities appear in a non-entity external select form using a CSV with the name of a dataset When a static CSV with the same name as an Entity List in the project is attached to a form, the Entity List is always used Oct 24, 2024
@seadowg seadowg moved this from ready to later in ODK Collect Nov 11, 2024
@seadowg seadowg moved this from later to inbox in ODK Collect Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ready
Development

No branches or pull requests

2 participants