You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The submissions count goes out of sync occasionally
Expected behavior
The submissions count should match the number of submissions after the forms receives submissions, submissions are soft deleted or hard deleted.
Steps to reproduce the behavior
Make multiple submissions to a form. Compare the value in XForm.num_of_submissions and the results of XForm.instances.filter(deleted_at__isnull=True).count()
Import multiple submissions to a form. Compare the value in XForm.num_of_submissions and the results of XForm.instances.filter(deleted_at__isnull=True).count()
Additional Information
Possible approach to resolving this an approach used to update the value for Entity.num_entities field
The text was updated successfully, but these errors were encountered:
kelvin-muchiri
changed the title
XForm num_of_submissons is off
XForm num_of_submissons value of occasionally out of sync
Oct 15, 2024
kelvin-muchiri
changed the title
XForm num_of_submissons value of occasionally out of sync
XForm num_of_submissons value is occasionally out of sync
Oct 15, 2024
Environmental Information
Problem description
The submissions count goes out of sync occasionally
Expected behavior
The submissions count should match the number of submissions after the forms receives submissions, submissions are soft deleted or hard deleted.
Steps to reproduce the behavior
Make multiple submissions to a form. Compare the value in
XForm.num_of_submissions
and the results ofXForm.instances.filter(deleted_at__isnull=True).count()
Import multiple submissions to a form. Compare the value in
XForm.num_of_submissions
and the results ofXForm.instances.filter(deleted_at__isnull=True).count()
Additional Information
Possible approach to resolving this an approach used to update the value for
Entity.num_entities
fieldThe text was updated successfully, but these errors were encountered: