#36247: BaseGeometryWidget unncessarily writes an error log when deserializing
malformed geometry
-------------------------------------+-------------------------------------
Reporter: David Buhler | Type:
| Cleanup/optimization
Status: new | Component: GIS
Version: 4.2 | Severity: Normal
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
The following bit of error logging happens during deserialization of
malformed geometry:
https://github.com/django/django/blob/stable/4.2.x/django/contrib/gis/forms/widgets.py#L55
I believe this is more appropriate as a warning or debug log as returning
a None value will result in a validation error rather than a failed
request. This will create noise when looking for error logs that need to
be actioned on.
This also impacts the 5.2.x branch.
--
Ticket URL: <https://code.djangoproject.com/ticket/36247>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/01070195873b386c-3e5bf452-10c6-4933-9e0d-f13d1788e01e-000000%40eu-central-1.amazonses.com.