Opened 13 years ago
Closed 12 years ago
#17328 closed Bug (fixed)
OpenLayersWidget needs _has_changed() method
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | GIS | Version: | 1.3 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The OpenLayersWidget
does not currently define a custom _has_changed()
method. This leads to the problem that it will always report a relevant form field as having been changed, even when that is not the case (the initial value is usually a geometry object, where as the data for comparison is a string.
Many widgets overload _has_changed()
, providing a custom method of testing equivalence, but this appears to have been forgotten for OpenLayersWidget
.
Attachments (1)
Change History (4)
by , 13 years ago
Attachment: | ticket17328.patch added |
---|
comment:1 by , 13 years ago
Has patch: | set |
---|
comment:2 by , 13 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
has_changed for OpenLayersWidget