Parcel filter #228

Closed
opened 2022-11-14 10:40:10 +01:00 by mpeltriaux · 1 comment
Owner

Status quo

Users try to enter "Flurstückzähler" and "Flurstücknenner" into the same field, which results in

ValueError at /compensation/
Field 'flrstck_zhlr' expected a number but got '621/1'.

Fix

Follow this usage by catching any text input, parsing the value and try to detect whether the above structure has been entered. If so, support by splitting into "Zähler" and "Nenner" and resolve as expected. If the input can not be resolved in anything related to the above structure, show an error message on invalid input.

# Status quo Users try to enter "Flurstückzähler" and "Flurstücknenner" into the same field, which results in ``` ValueError at /compensation/ Field 'flrstck_zhlr' expected a number but got '621/1'. ``` # Fix Follow this usage by catching any text input, parsing the value and try to detect whether the above structure has been entered. If so, support by splitting into "Zähler" and "Nenner" and resolve as expected. If the input can not be resolved in anything related to the above structure, show an error message on invalid input.
mpeltriaux added the
bug
enhancement
labels 2022-11-14 10:40:10 +01:00
mpeltriaux self-assigned this 2022-11-14 10:40:10 +01:00
mpeltriaux referenced this issue from a commit 2022-11-16 16:11:48 +01:00
Author
Owner

Merged in #234

# Merged in #234
btuelek referenced this issue from a commit 2024-12-05 13:18:38 +01:00
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#228
No description provided.