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

Csv import overwrite enabled #2166

Merged
merged 5 commits into from
Nov 17, 2021
Merged

Csv import overwrite enabled #2166

merged 5 commits into from
Nov 17, 2021

Conversation

denniswambua
Copy link
Contributor

@denniswambua denniswambua commented Nov 11, 2021

Changes / Features implemented

Fix csv import overwrite which only updated the soft deleted submissions.

Steps taken to verify this change does what is intended

Tests included

Side effects of implementing this change

Uuids will always be generated for all the csv import modes.

Before submitting this PR for review, please make sure you have:

  • Included tests
  • Updated documentation

Closes #

Copy link
Contributor

@DavisRayM DavisRayM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Kindly also update the documentation here https://stage-api.ona.io/static/docs/forms.html#import-csv-data-to-existing-form; To highlight that during an overwrite we don't consider the _uuid of the imported data.

docs/forms.rst Outdated Show resolved Hide resolved
DavisRayM
DavisRayM previously approved these changes Nov 17, 2021
@DavisRayM DavisRayM merged commit f337a22 into master Nov 17, 2021
@DavisRayM DavisRayM deleted the csv_import_overite_enabled branch November 17, 2021 09:44
@DavisRayM DavisRayM mentioned this pull request Nov 18, 2021
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants