Skip to content

Fix Late Initialized Error when retrieving firstName in MRZ (EFDG1)#41

Open
AhSem wants to merge 1 commit intoZeroPass:masterfrom
AhSem:fix-late-initialized-error-efdg1-firstname
Open

Fix Late Initialized Error when retrieving firstName in MRZ (EFDG1)#41
AhSem wants to merge 1 commit intoZeroPass:masterfrom
AhSem:fix-late-initialized-error-efdg1-firstname

Conversation

@AhSem
Copy link
Copy Markdown

@AhSem AhSem commented Apr 10, 2025

Not all passports have first name in EFDG1 (MRZ data), which gives late initialized error. Quick fix by returning empty string when firstName is not available.

@lukapercic
Copy link
Copy Markdown

Thank you for PR, we will fully test it for other passports when we find time/funding, and merge then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants