Wrong uuid #475

Closed
opened 2025-05-12 11:26:52 +02:00 by mpeltriaux · 1 comment
Owner

Status quo

In certain cases a user might have a broken link, where the given UUID is in fact not a valid UUID. Django checks the validity of the parameter and throws a 500 error.

The user is then greeted with the 500 server error message, which is highly confusing, since there is no server error but in fact a client error.

Fix

In this specific case, the user should be informed, that it is highly probable that the used link is invalid for whatever reason. This way we can make sure, that the system is properly running but the user made an error using it.

# Status quo In certain cases a user might have a broken link, where the given UUID is in fact not a valid UUID. Django checks the validity of the parameter and throws a 500 error. The user is then greeted with the 500 server error message, which is highly confusing, since there is no server error but in fact a client error. # Fix In this specific case, the user should be informed, that it is highly probable that the used link is invalid for whatever reason. This way we can make sure, that the system is properly running but the user made an error using it.
mpeltriaux added the
enhancement
label 2025-05-12 11:26:52 +02:00
mpeltriaux self-assigned this 2025-05-12 11:26:52 +02:00
Author
Owner

Merged in #476

Merged in #476
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: IT-Naturschutz/konova#475
No description provided.