Unable to download a form with the triple underscore as a version after the blank version
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 58/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript
- Domain
- backend
Research direction
Start by reviewing the changes in #2251 and the linked comment, then trace how Central accepts and publishes form versions. Reproduce with a form that has no version followed by a version of ___, and check the behavior across the blank form update modes in Collect. Done means Central rejects ___ as a form version rather than allowing a version that Collect cannot download.
Written by the indexing model from the issue text.
Description
Problem description
After changes in #2251 there's an edge case in not being able to download a new form version in Collect if a form doesn't contain a version and the following version is a triple underscore (check the comment in the issue. )
The issue occurs in all "Blank form update modes" in Collect.
Steps to reproduce the problem
- Publish a form without a form version e.g.
fromwithoutvers.xlsx.txt - Create and app user and add access to the form.
- In Collect scan the QR code.
- In Central publish the form again with the triple underscore as the form version.
- Try to download the form to Collect (in the manual update mode the
___version is visible in the list of updates to download but the new version doesn't get downloaded).
Expected behavior
Not allowing the triple underscore as the form version.
Central version shown in version.txt
https://staging.getodk.cloud
versions:
3e852f511b0ac1fe10ce78765bf57888ae2237a3 (v2026.3.1-7-g3e852f5)
f8254e144016f3f4c42a87613bd0ba869a511fb8 client (v2026.3.0-29-gf8254e144)
9fbf7c60740444d532e3dede1d7cf4885510f4b2 server (v2026.3.0-13-g9fbf7c60)
- Dominant language
- JavaScript
- Stars
- 233
- Forks
- 241
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 13
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getodk/central
-
sessions are not reapedPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
-
The `New Submission` button on the Submissions tab is now harder to access on mobilePossibly taken @sadiqkhoja claimed this 1 day ago. Openfrontend
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
getodk/central#2334 · 1 assignee ·
Maintainers usually reply within 1 day
-
Copying text from table clicks on the rowPossibly taken @sadiqkhoja claimed this 1 day ago. Openfrontend needs testing
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getodk/central#2331 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Hide closed formsPossibly taken @nicoleorlowski claimed this 8 days ago. Openfrontend needs testing
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
getodk/central#2323 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
Similar issues
-
Escaped `*` followed by `*` (`\**`) never matchesPossibly taken @bardrop claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 71/100
editorconfig/editorconfig-core-js#172 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
fb55/htmlparser2#2579 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
Provider editor: multiple top plugin options overlap Models because .top caps the container at 46pxOpen
Difficulty 2/5 1-3 hours Newbie friendliness 74/100