Opened 8 years ago
Closed 8 years ago
#27024 closed Bug (fixed)
BaseGeometryWidget logs a false positive: Error creating geometry from value ''
Reported by: | Gavin Wahl | Owned by: | nobody |
---|---|---|---|
Component: | GIS | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
When using a form with a PointField (or presumably anything using BaseGeometryWidget), if you
- Don't fill out the map field
- Cause a ValidationError for another field
- Submit the form
This error-level message will be logged:
Error creating geometry from value ''
There should not be any error logged because there is no error. Maybe BaseGeometryWidget.deserialize
needs to check for EMPTY_VALUES
?
Change History (6)
comment:1 by , 8 years ago
comment:3 by , 8 years ago
Summary: | Error level message logged: Error creating geometry from value '' → BaseGeometryWidget logs a false positive: Error creating geometry from value '' |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:5 by , 8 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
The logging was added by Claude in 9d2e1f065ede189f65e79eb3cb33a33b460a4351. This isn't a new issue in 1.10, is it?