Skip to content

A certificate from the Ukrainian дія that results in an exception due to midle name. #70

@lubagov

Description

@lubagov

I have Qr code, conteins next fields:
{4: 1666386000, 1: "UA", -260: {1: {"type": "local", "nam": {"gn": "Євгенія", "fnt": "SHEVTSOVA", "fn": "Шевцова", "mn": "Валеріївна", "gnt": "YEVHENIIA"}, "itn": "2830208121", "ver": "1.3.0", "dob": "1977-06-27", "v": [{"sd": 2, "mp": "EU/1/20/1528", "vp": "1119349007", "tg": "840539006", "dn": 2, "ci": "URN:UVCI:01:UA:7NV72MZWKJ1V1ZDG4ZGX2KMF", "is": "State Enterprise "DIIA"", "co": "UA", "dt": "2021-10-22", "ma": "ORG-100030215"}]}}, 6: 1634926088}

Main problem in "mn": "Валеріївна" field:
dgca/verifier/app/decoder/cbor/DefaultCborService.kt:70
Unrecognized field "mn" (class dgca.verifier.app.decoder.model.Person), not marked as ignorable
In class dgca-app-core-android/decoder/src/main/java/dgca/verifier/app/decoder/model/Person.kt
Has not field mn, and also it has not annotation @JsonIgnoreProperties(ignoreUnknown = true)
photo5420440524067813742

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions