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

Save Draft changes functionality creates multiple Questionnaire Responses instead of updating existing one #3611

Closed
Rkareko opened this issue Nov 15, 2024 · 0 comments · Fixed by #3614
Assignees

Comments

@Rkareko
Copy link
Contributor

Rkareko commented Nov 15, 2024

Describe the bug
MVP drafting feature was implemented on #3541 . One of the assumptions for that implementation is that there would only be one draft (QR with status in-progress) per form (Questionnaire) at a time.

The current implementation creates an new draft (QR with status in-progress) every time the user does a Save Draft.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
The same draft (QR with status in-progress) should be updated every time a Save Draft operation is performed.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. Samsung Galaxy A2 emulator]
  • Android version: [e.g. Settings -> About phone -> Android version]
  • Build number: [e.g. Settings -> About phone -> Build number]
  • Version [e.g. 24]

Additional context
Add any other context about the problem here.

@Rkareko Rkareko self-assigned this Nov 15, 2024
@Rkareko Rkareko changed the title Draft changes are not saved when done more than once Draft changes functionlaity creates multiple Questionnaire Responses instead of updating existing one Nov 15, 2024
@Rkareko Rkareko changed the title Draft changes functionlaity creates multiple Questionnaire Responses instead of updating existing one Draft changes functionality creates multiple Questionnaire Responses instead of updating existing one Nov 15, 2024
@Rkareko Rkareko changed the title Draft changes functionality creates multiple Questionnaire Responses instead of updating existing one Save Draft changes functionality creates multiple Questionnaire Responses instead of updating existing one Nov 15, 2024
@pld pld closed this as completed in #3614 Nov 15, 2024
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 a pull request may close this issue.

1 participant