Cwa-documentation: Locations saved more than one time

Created on 30 Jan 2021  路  4Comments  路  Source: corona-warn-app/cwa-documentation

Technical details

  • Device name: Samsung Galaxy S20
  • Android version: 11
  • App version: 1.10.1

Description

If you create a now location on the contact diary you can save one location more than one time in your locations list.

Steps to reproduce the issue

  1. Go to the contact dairy
  2. Click on a day
  3. Click on "Orte"
  4. Click on "+ Ort"
  5. Set a name for the location like "Berlin Hotel"
  6. Click on "Speichern"
  7. Click on "+ Ort"
  8. Set a name for the location like "Berlin Hotel" (must be the same name as before)
  9. Click on "Speichern"
  10. Location is saved two times in the locations list

Expected behaviour

Warning: Location already exists.

Possible Fix

If-clause to check if a location has already been entered.

Additional context

Error probably occurs on all devices.


Internal Tracking ID: EXPOSUREAPP-4949

bug contact-journal mirrored-to-jira

Most helpful comment

All 4 comments

@hereisonejens
It's the same for people as well as places, and it is possible to create duplicates of both in the Contact Journal of version CWA 1.11.0 released on Jan 28, 2021 as well.

If it is decided to prevent duplicates then any check should be case insensitive, so if you already had "Karl" as person, you couldn't create a new person called "karl".

Internal Tracking ID: EXPOSUREAPP-4949

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AndiLeni picture AndiLeni  路  3Comments

ndegendogo picture ndegendogo  路  3Comments

oezguercelebi picture oezguercelebi  路  3Comments

HrFlorianHoffmann picture HrFlorianHoffmann  路  3Comments

TomTeeJay picture TomTeeJay  路  3Comments