kobotoolbox / kpi

kpi is the server for KoboToolbox. It includes an API for users to access data and manage their forms, question library, sharing settings, create reports, and export data.
https://www.kobotoolbox.org
GNU Affero General Public License v3.0
133 stars 181 forks source link

preserve auto-names of fields that have been named #709

Open dorey opened 8 years ago

dorey commented 8 years ago

currently, kobo_to_xlsform auto-names fields as they are deploying. It does not save those names back to the database, which means the names could get out of sync on re-deployments

jnm commented 5 years ago

Related to https://github.com/kobotoolbox/kpi/issues/1831?

dorey commented 2 years ago

We get around this by storing asset.latest_deployed_version.version_content and not changing the autoname method.

There is a field for asset_version.deployed_content but this defaults to None. If we do end up changing how names are generated, and we populate this field, then it will be passed to formpack. I think we can close this