Skip to content

fix: change the "500" status code to "400" when the request has invalid UUID - #229

Merged
psmagin merged 1 commit into
masterfrom
MRSPECS-52
Jul 10, 2026
Merged

fix: change the "500" status code to "400" when the request has invalid UUID#229
psmagin merged 1 commit into
masterfrom
MRSPECS-52

Conversation

@psmagin

@psmagin psmagin commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Purpose

Change the "500" status code to "400" when the request has invalid UUID

Approach

Add UUID case for MethodArgumentTypeMismatchExceptionHandler

Changes Checklist

  • API Changes: Document any API paths, methods, request or response bodies changed, added, or removed.
  • Database Schema Changes: Indicate any database schema changes and their impact. Confirm that migration scripts were created.
  • Interface Version Changes: Indicate any changes to interface versions.
  • Interface Dependencies: Document added or removed dependencies.
  • Permissions: Document any changes to permissions.
  • Logging: Confirm that logging is appropriately handled.
  • Unit Testing: Confirm that changed classes were covered by unit tests.
  • Integration Testing: Confirm that changed logic was covered by integration tests.
  • Manual Testing: Confirm that changes were tested on local or dev environment.
  • NEWS: Confirm that the NEWS file is updated with relevant information about the changes made in this pull request.

Related Issues

https://folio-org.atlassian.net/browse/MRSPECS-52

@psmagin psmagin self-assigned this Jul 10, 2026
@psmagin psmagin added the ai label Jul 10, 2026
@sonarqubecloud

Copy link
Copy Markdown

@psmagin
psmagin marked this pull request as ready for review July 10, 2026 08:58
@psmagin
psmagin requested a review from a team as a code owner July 10, 2026 08:58
@psmagin
psmagin merged commit d5c2b04 into master Jul 10, 2026
16 checks passed
@psmagin
psmagin deleted the MRSPECS-52 branch July 10, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants