collect icon indicating copy to clipboard operation
collect copied to clipboard

The order of question and location tracking enabled events in audit log after form resume

Open dbemke opened this issue 3 years ago • 3 comments

Software and hardware versions

Collect v2022.3.2, Android probably all

Problem description

I’ve noticed that there is a different order of "question” and "location tracking enabled” events in audit log when the form is saved for the first time and after editing the form. When the form is completed for the first time, at the beginning of audit log first there is a "location tracking enabled” and then a "question” event. After editing the same form, in audit log after "form resume” event first there is a "question” event and then a "location tracking enabled” event. auditlogresumeorder

Steps to reproduce the problem

  1. Go to AuditTest form.
  2. Allow tracking location if necessary.
  3. Fill in some questions.
  4. Save and exit the form.
  5. Go to Edit Saved Form.
  6. Edit the form and save it.
  7. Go to audit.csv file.

Expected behavior

The order of those events in audit log after editing the form should be the same as in completing the form for the first time.

dbemke avatar Aug 23 '22 13:08 dbemke

Is this present in v2022.2 as well?

seadowg avatar Aug 23 '22 13:08 seadowg

In Collect v2022.2.0 after form resume, the question event is before location tracking.

dbemke avatar Aug 23 '22 14:08 dbemke

@lognaturel do you agree that this is a problem?

seadowg avatar Oct 05 '22 14:10 seadowg

I've investigated this issue and it looks like it can be easily fixed so let's do that.

grzesiek2010 avatar Sep 18 '23 11:09 grzesiek2010