Skip to content

ExtendedErrorAttributes are not invoked anymore #258

@Pfeil

Description

@Pfeil

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:

  1. run testResolvingInvalidRecordWithValidationFail (or in master branch, for example testInvalidRecordWithProfile)
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions