March 9, 2020, 4:24am
handleSubmission method in userFormController.java returns 2XX as response code even when there is an error on POST.
We propose to fix it to follow HTTP Response code standards and return 201 on successful creation and on error 400 would be returned as response code.
@mksd @sukreet @rrameshbtech
March 9, 2020, 7:41am
Can you attach the screenshort of the error please
March 24, 2020, 6:28am
The response code is 200 even if there is error on completing user creation. On error we expect error code.
March 24, 2020, 7:35am
Have you tried to test on demo server and see whether this error occur as the same
March 24, 2020, 7:36am
Its a valid error, the issue we are fixing is the response code when error occurs
March 24, 2020, 7:47am
Take a note that we are shifting from old legacyui to new Ui of gsp. So i would advise to first check the new ui in reference appication and see if there is work done in reference to old legacyui. You never know this may have been improved in the new Ui thanks
March 25, 2020, 12:11pm
Thanks for the information