Skip to content

fix: Delete attachments from Central when deleted from Publish MDM.#182

Draft
simonkagwi wants to merge 1 commit intomainfrom
176-delete-attachments-in-central
Draft

fix: Delete attachments from Central when deleted from Publish MDM.#182
simonkagwi wants to merge 1 commit intomainfrom
176-delete-attachments-in-central

Conversation

@simonkagwi
Copy link
Copy Markdown
Contributor

@simonkagwi simonkagwi commented Apr 17, 2026

Delete an attachment in ODK Central if it's been deleted in Publish MDM.

When a new form draft is created, any attachments that match existing ones on the currently published form are automatically copied over to the new draft (according to ODK docs), which can lead to attachments that exist in Central but not in Publish MDM. This PR will delete attachments found on the new draft that are not in the project attachments in Publish MDM.

@simonkagwi simonkagwi changed the title Delete attachments from Central when deleted from Publish MDM. bug: Delete attachments from Central when deleted from Publish MDM. Apr 18, 2026
@simonkagwi simonkagwi changed the title bug: Delete attachments from Central when deleted from Publish MDM. fix: Delete attachments from Central when deleted from Publish MDM. Apr 18, 2026
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.

bug:Attachments are not being deleted from ODK central as expected

1 participant