[midPoint-git] [Evolveum/midpoint] b16bd9: AbstractRestController: added condition to handle ...
virgo47
noreply at github.com
Mon Nov 8 13:41:10 CET 2021
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: b16bd9c1eba3d0ec922b84a4bf42bbe7c90ec74f
https://github.com/Evolveum/midpoint/commit/b16bd9c1eba3d0ec922b84a4bf42bbe7c90ec74f
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2021-11-08 (Mon, 08 Nov 2021)
Changed paths:
M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/AbstractRestController.java
Log Message:
-----------
AbstractRestController: added condition to handle wrong UUID as 404
This is how it worked in old repo, the fix catches new repo too.
Returning 400 would be good too, but definitely not 500.
Commit: 8e0aa116456f1848b77fa3da4deaa87fd913ef4c
https://github.com/Evolveum/midpoint/commit/8e0aa116456f1848b77fa3da4deaa87fd913ef4c
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2021-11-08 (Mon, 08 Nov 2021)
Changed paths:
M testing/rest/src/test/java/com/evolveum/midpoint/testing/rest/TestAbstractRestService.java
Log Message:
-----------
TestAbstractRestService: wrong type + OID returns 404, not 400 now
This reacts to how new repo works, ObjectRetriever was fixed accordingly
for old repo (5a5fdb02 commit message wasn't complete, sorry).
Compare: https://github.com/Evolveum/midpoint/compare/1a485581c328...8e0aa116456f
More information about the midPoint-svn
mailing list