Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lubagov opened this issue Jan 19, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@lubagov
Copy link

lubagov commented Jan 19, 2022

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

@lubagov lubagov added the bug Something isn't working label Jan 19, 2022
@lubagov lubagov changed the title A certificate from the Ukrainian DIA that results in an exception due to midle name. A certificate from the Ukrainian дія that results in an exception due to midle name. Jan 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant