Context
This bug does not affect the functionality of the whole service. It causes fewer details given when a request fails, though.
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
Possible Starting points for a solution
https://github.com/maximiliani/idoris/blob/main/src/main/java/edu/kit/datamanager/idoris/configuration/RestResponseEntityExceptionHandler.java
Context
This bug does not affect the functionality of the whole service. It causes fewer details given when a request fails, though.
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