getodk / getodk/central

Not only CSV extensions are linked to Entity lists.

Open
#474 0 comments 1 reaction 0 assignees View on GitHub
frontend
Dominant language
JavaScript
Stars
226
Forks
235
Avg merge
2d 22h
Merged PRs (30d)
19

Description

#### Problem description
Not only CSV extensions are linked to Entity lists.

#### Steps to reproduce the problem
1. Publish a form creating a dataset (e.g. itemsets.csv).
[itemsets_registration.xml.zip](https://github.com/getodk/central/files/12495497/itemsets_registration.xml.zip)
2. Upload a form (not updating entities) that attaches a geojson file with the same name (e.g. itemsets.geojson).
[SelectOneFromMapTestFormitemset.xlsx.txt](https://github.com/getodk/central/files/12495511/SelectOneFromMapTestFormitemset.xlsx.txt)
3. In the Draft section go to Form Attachments tab and check if there is a button suggesting linking itemsets.geojson file to the Entity list.
#### Screenshot
![lingeojson](https://github.com/getodk/central/assets/56479916/03b2db14-b401-4a3b-a8a5-0675470c7e3a)
![linkedgeojson](https://github.com/getodk/central/assets/56479916/b7289baa-196a-4fcc-8c98-52599f7847e3)

#### Expected behavior
Only CSV extensions should be link to Entity lists.
#### Central version shown in version.txt
https://test.getodk.cloud/
versions:
906addf66af230735e501ad73a1269012fdd7a5a (v2023.3.1)
+330132cf1ecb824b1fb88894287cb8edb5acefa5 client (v2023.3.0-2-g330132cf)
ba6ee474f431b48e885fb035c9266792f06d0ad7 server (v2023.3.1)
https://staging.getodk.cloud/
versions:
f78da7a8b7a132ad2baa794a656da6ba8e40754a (v2023.3.1-6-gf78da7a)
+f6aefcc71621a394943f91613234ba295e34cd86 client (v2023.3.0-17-gf6aefcc7)
+628ac0d14e4c772591661dbac81b1fb49a1dbce8 server (v2023.3.1-34-g628ac0d1)

#### Browser version

Chrome 114.0.5735.198, Firefox 116.0.2

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.