corona-warn-app / cwa-quick-test-frontend

Apache License 2.0
12 stars 7 forks source link

ICAO prefill - Many Cyrillic characters are not being converted into the recommended transliteration in standardized name fields #301

Closed kerstin-oppermann-tsi closed 2 years ago

kerstin-oppermann-tsi commented 2 years ago

Environment : INT

https://dfe4f5c711db.schnelltestportal.de/qt/

Test Steps :

In Schnelltestportal, PoC user clicks on "Patientendaten erfassen". Click on DCC option "Yes". The user fills out the fields necessary to add a patient using cyrillic characters from list in reference document in the Vorname and Name fields. Check that the Cyrillic characters are correctly converted (into the recommended transliteration) in the standardized fields - Standardizierter Vorname and Standardizierter Name The user can continue with the QR-Code generation and no error occurs Expected Results:

The Cyrillic characters are correctly converted (into the recommended transliteration) in the standardized fields

No errors occur when the user continues to create a QR-Code in the Quicktest-Portal for the patient.

Actual Result:

Not all Cyrillic characters are correctly converted (into the recommended transliteration) in the standardized fields, e.g.

Г - should be G, but Г is used, Ґ should also be G, but Ґ is used

Ц - should be TS, but is not converted and Ц is used

Ш - should be SH, but is not converted and Ш is used

Ѫ - should be U, but is not converted and Ѫ is used

Һ - should be C, but is not converted and Һ is used

Ћ - should be D, but is not converted and Ћ is used - see Screenshots

Ы - should be Y

Э - should be E

Ю - should be IU

Щ - should be SHCH

Я - should be IA

Some Cyrillic characters are transliterated correctly, e.g.

Њ transliterated to NJ

С transliterated to S

Ў transliterated to U

When the user attempts to continue (clicks on "Weiter") to generate a QR-Code for the patient, an error appears on the standardized name field (Standardizierter Name / Vorname), which contains the "problem" characters - Error Message : "Deine Eingabe muss mit dem angeforderten Format übereinstimmen." - see Screenshot.

Additional Info:

Reference used : Table B, Page 33, Transliteration of Cyrillic Characters in Document :

ICAO Doc: https://github.com/corona-warn-app/cwa-quick-test-frontend/files/6607283/9303_p3_cons_en.pdf

Most characters checked were transliterated correctly.

Example Strings entered : Ґ ФЖЋ, ҺШ Ѫ Ѕ image-2022-05-09-18-58-40-961 image-2022-05-09-18-56-50-540 Example 2 Example 1 Error Message

kerstin-oppermann-tsi commented 2 years ago

fixed