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

[INJICERT-695] handle null data when creating mdoc data entry #93

Conversation

KiruthikaJeyashankar
Copy link

This change is being made because in case of IndividualId not stored, documentNumber value becomes null and credential generation fails while creating the mdoc due to NullPointer exception.

Note: In case of IndividualId not stored, documentNumber in the mdoc will be empty string ("")

"elementIdentifier": "document_number",
"elementValue": ""

In case of IndividualId not stored, documentNumber value becomes null and mdoc generated will have the documentNumber field as empty

Signed-off-by: KiruthikaJeyashankar <kiruthikavjshankar@gmail.com>
@vishwa-vyom vishwa-vyom merged commit f48d218 into mosip:release-0.3.x Dec 19, 2024
16 checks passed
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