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

Unable to upload downloaded form during project creation #1918

Open
manjitapandey opened this issue Nov 26, 2024 · 1 comment
Open

Unable to upload downloaded form during project creation #1918

manjitapandey opened this issue Nov 26, 2024 · 1 comment
Labels
backend Related to backend code bug Something isn't working dependency:osm-fieldwork Requires updates in osm-fieldwork effort:medium Likely a day or two priority:low Backlog of tasks that will be addressed in time

Comments

@manjitapandey
Copy link
Contributor

Describe the bug
when I create a project with custom/default form and download the form using form download option of project details page. I am not able to upload the same form again during another project creation.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'project details page'
  2. Download the xls form
  3. Create another project using downloaded xls form
  4. See error

Expected behavior
Increase reusability of form during project creation and editing.

Additional context
The same form however works while uploading through form editing page.

@manjitapandey manjitapandey added bug Something isn't working backend Related to backend code priority:low Backlog of tasks that will be addressed in time labels Nov 26, 2024
@spwoodcock
Copy link
Member

The key question here is:

Do we want to expose the final form to the user (including the injected fields), so they can use it themselves manually in ODK?

Or, do we hide all of the FMTM injected fields, so any download of forms always has these fields removed?

(that's the difference you are seeing. Uploading a final form including injected fields will not work currently)

A possible middle ground is to strip these 'FMTM' fields out when uploading the form again (meaning we have to update the logic in osm-fieldwork that handles injecting the fields)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend code bug Something isn't working dependency:osm-fieldwork Requires updates in osm-fieldwork effort:medium Likely a day or two priority:low Backlog of tasks that will be addressed in time
Projects
Development

No branches or pull requests

2 participants