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

Deleted Entities are present in the manifest dataset #2649

Closed
kelvin-muchiri opened this issue Jul 23, 2024 · 1 comment · Fixed by #2648
Closed

Deleted Entities are present in the manifest dataset #2649

kelvin-muchiri opened this issue Jul 23, 2024 · 1 comment · Fixed by #2648
Labels

Comments

@kelvin-muchiri
Copy link
Contributor

kelvin-muchiri commented Jul 23, 2024

Environmental Information

  • Onadata version: <= v4.3.3

Problem description

After deleting an Entity, the Entity is still present in the downloaded dataset from the manifest of the follow up form.

Expected behavior

The deleted Entity should not be present in the manifest data of a follow up form.

Steps to reproduce the behavior

  1. Creating Entities by uploading a registration form that creates Entities and make submissions to it.
  2. Upload a follow up form that consumes Entities from the EntityList.
  3. Delete an Entity from the dataset.
  4. Visit the endpoint /<username>/xformsManifest/<form_id> where username is the username of the owner of the form and form_id is the ID of the follow up form. This endpoint returns an XML response.
  5. Find the mediaFile tag for the dataset. Copy the URL within the tags downloadUrl and paste it in a new tab. A CSV download will begin.
  6. Once the CSV download is complete, inspect the CSV. You will find the deleted Entity will be present in the CSV
@kelvin-muchiri kelvin-muchiri changed the title Deleted Entities are present in the exported dataset Deleted Entities are present in the manifest dataset Jul 23, 2024
@faith-mutua
Copy link

This has been addressed in stage.ona.io

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

Successfully merging a pull request may close this issue.

2 participants