Opened 7 weeks ago
Closed 7 weeks ago
#36537 closed Bug (fixed)
Generate unique IDs for the OSM layer mapwidget options `json_script` tags
Reported by: | Matthias Kestenholz | Owned by: | Matthias Kestenholz |
---|---|---|---|
Component: | GIS | Version: | dev |
Severity: | Release blocker | 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
The application/json
script tag uses id="mapwidget-options"
even when used multiple times on the same page. This is invalid HTML, let's change this to use unique IDs.
Refs https://github.com/django/django/pull/19566 and https://code.djangoproject.com/ticket/25706
Change History (5)
comment:1 by , 7 weeks ago
Has patch: | set |
---|
comment:2 by , 7 weeks ago
Triage Stage: | Unreviewed → Accepted |
---|---|
Type: | Cleanup/optimization → Bug |
Version: | 5.2 → dev |
Thank you Matthias! This follows an extensive conversation in the referenced PR.
comment:4 by , 7 weeks ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
PR