The centertype get created when the CenterName field is not given in secondary lang

Story point estimate

Description

Step to reproduce:
1) log in to Admin: https://dev.mosip.net/admin-ui/#/admin/masterdata/center-type/view
2) Create a center type by entering value in eng Panel.
3) Error popup will be shown as "request. name: Should not be blank or size must be between 1 and 64"

Actual: The record gets created even after the error message is shown.
Expected: The record should not be created in case error message appear. As in case user is changing data with same code, he is getting error as "Technical error "
Reponse:
{"id":"","version":"1.0","responsetime":"2020-09-22T10:36:05.246Z","metadata":null,"response":null,"errors":[{"errorCode":"KER-MSD-994","message":"Code already exists"}]}

Environment

DEV

Attachments

7

Activity

Show:

Niyati Swami October 12, 2020 at 3:13 PM

Tested in QA working as expected. Hence closing the issue.
ENV: https://qa.mosip.net

Jyoti Prakash Nayak October 9, 2020 at 4:35 AM

I was unable to reproduce the scenario. The functionalities are working fine. I have added attachments regarding this.

Aravindhan Alagesan September 29, 2020 at 6:46 AM

This is related to API so assigning to backend team

Cannot Reproduce

Details

Assignee

Reporter

Severity

Major

Affects versions

Fix versions

Closed Date

Oct 12, 2020, 3:13 PM

Priority

Created September 22, 2020 at 11:05 AM
Updated November 18, 2020 at 6:17 AM
Resolved October 8, 2020 at 7:25 AM