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

Allow editing a finalized form #6591

Open
3 tasks
seadowg opened this issue Feb 10, 2025 · 2 comments
Open
3 tasks

Allow editing a finalized form #6591

seadowg opened this issue Feb 10, 2025 · 2 comments
Assignees

Comments

@seadowg
Copy link
Member

seadowg commented Feb 10, 2025

Figma link

Acceptance

  • Given I've filled out and finalized (or sent) a form
    When I open that submission to view it from "Ready to send" (or "Sent")
    And I click on the ✏️ icon in the app bar
    Then the submission is opened for editing with the same answers

  • Given I've filled out and finalized a form
    When I open that submission to view it from "Ready to send"
    And I click on the ✏️ icon in the app bar
    And I make changes and finalize
    Then both the original and edited submission are visible in Ready to send

  • Given I've filled out and sent a form
    When I open that submission to view it from "Sent"
    And I click on the ✏️ icon in the app bar
    And I make changes and send it
    Then that edited submission shows up as an edit in Central

Notes

Edited submissions should use include the deprecatedId metadata element linking them back to the submission they are an edit of. This is already how edits work in Central.

Questions

  • Is using deprecatedId enough to have edits show correctly in Central?
    • Yes!
@grzesiek2010
Copy link
Member

grzesiek2010 commented Feb 23, 2025

@seadowg should the deprecatedId be present in blank forms like instanceId, so it’s automatically added to saved forms (if populated), or should we add it dynamically when editing starts? As I understand, it’s the latter, correct?

@seadowg
Copy link
Member Author

seadowg commented Feb 24, 2025

@seadowg should the deprecatedId be present in blank forms like instanceId, so it’s automatically added to saved forms (if populated), or should we add it dynamically when editing starts? As I understand, it’s the latter, correct?

Yup: deprecatedId isn't included in the blank form XML, and we need to add it to the instance XML when saving.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ready
Development

No branches or pull requests

2 participants