You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
This class ExtededErrorAttributes is supposed to add a pit-record attribute, which, in case of validation errors, will attach the affected record. But this does not seem to work. (Discovered by looking at the test testResolvingInvalidRecordWithValidationFail, confirmed in others).
To Reproduce
Steps to reproduce the behavior:
run testResolvingInvalidRecordWithValidationFail (or in master branch, for example testInvalidRecordWithProfile)
Check response
Expected behavior
include record encoded in pid-record key
Note: I do it exactly as described here, and it still doesn't work. I also tried a few things (making an explicit bean out of it, etc).
It also seems it is correctly recognized at runtime and used in the right order, but I didn't get to the point where it should be called (but isn't) so far:
Describe the bug
This class ExtededErrorAttributes is supposed to add a pit-record attribute, which, in case of validation errors, will attach the affected record. But this does not seem to work. (Discovered by looking at the test
testResolvingInvalidRecordWithValidationFail
, confirmed in others).To Reproduce
Steps to reproduce the behavior:
testResolvingInvalidRecordWithValidationFail
(or in master branch, for exampletestInvalidRecordWithProfile
)Expected behavior
include record encoded in pid-record key
Possible Starting points for a solution
https://github.com/maximiliani/idoris/blob/main/src/main/java/edu/kit/datamanager/idoris/configuration/RestResponseEntityExceptionHandler.java
The text was updated successfully, but these errors were encountered: