Actions
Defect #2387
closedWrong Exception messages format in SSO authentication filter
Start date:
07/14/2020
Due date:
% Done:
100%
Estimated time:
Affected versions:
Owner:
Description
In ExtrasSsoIdmAuthenticationFilter.java
there are several lines with wrong formating Exception messages like this one:
throw new IdmAuthenticationException(MessageFormat.format("Attribute with code [{}] not found", fieldName));
Calling this method ends up with error
Forwarding to error page from request [/index.html] due to exception [can't parse argument number: ]
Please fix this bug.
Updated by Marek Klement over 4 years ago
- Assignee changed from Peter Štrunc to Marek Klement
Updated by Marek Klement over 4 years ago
- Status changed from New to Needs feedback
- Assignee changed from Marek Klement to Peter Štrunc
- % Done changed from 0 to 90
- Fixed exception by adding
[{0}]
- Added test for exceptions messages.
- On branch personal/klement/2392-improve-logging-and-security
- Tests have 82% coverage.
Updated by Peter Štrunc over 4 years ago
- Status changed from Needs feedback to Closed
- Target version set to 2.5.0
- % Done changed from 90 to 100
- Affected versions 2.4.0 added
It looks great. Thanks
Actions