-
Notifications
You must be signed in to change notification settings - Fork 118
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
MOSIP-30099,MOSIP-30009,MOSIP-30026,MOSIP-19740:Bugfixes for admin-service #952
base: develop
Are you sure you want to change the base?
Conversation
50a91df
to
7964802
Compare
…sponse Signed-off-by: Yash S <[email protected]>
…ailable/gender/residenceStatus data Signed-off-by: Yash S <[email protected]>
Signed-off-by: Yash S <[email protected]>
…t and if not will generate new randomId Signed-off-by: Yash S <[email protected]>
0de7303
to
87cb0d4
Compare
String attribute = keyValues.getAttribute(); | ||
Object value = keyValues.getValue(); | ||
|
||
if ("residenceStatus".equals(attribute)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be handled here instead it should be checked in the mvel script. As of today if the provided values do not match any condition it returns "000"
@@ -134,7 +136,13 @@ public BlocklistedWordsResponseDto getAllBlocklistedWordsBylangCode(String langC | |||
throw new DataNotFoundException(BlocklistedWordsErrorCode.NO_BLOCKLISTED_WORDS_FOUND.getErrorCode(), | |||
BlocklistedWordsErrorCode.NO_BLOCKLISTED_WORDS_FOUND.getErrorMessage()); | |||
} | |||
|
|||
private void validateLangCode(String langCode) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we duplicating the code here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, we are not duplicating the code
No description provided.