avniproject / avni-client

Android app for the fieldworkers.
https://avniproject.org
GNU Affero General Public License v3.0
7 stars 18 forks source link

Duplicate identifiers on draft save #1356

Closed mahalakshme closed 1 month ago

mahalakshme commented 2 months ago

https://avni.freshdesk.com/a/tickets/3646

Issue:

To identify if an identifier is used, we introduce a used column in mobile app as part of this card. But looks like it is marked true only on save. Hence when a form with identifier is saved as draft, it is not marked as used, leading to duplicates.

Steps to reproduce:

Org: IPH CTRITH, env: prod

AC:

Technical point:

Analysis point:

1t5j0y commented 1 month ago

avni-client commit: https://github.com/avniproject/avni-client/commit/a6be91567fc14400c8693d6fe785b2338c502406

petmongrels commented 1 month ago

Some amount of testing of non draft entities should also be done.

AchalaBelokar commented 1 month ago