You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 65c92ed
Browse filesBrowse the repository at this point in the historyBrowse files
See #24875: Don't use sources without a URL, survive a dead overture catalog
The default source list currently fails to load at all: the overture catalog
referenced from sources.json returns 403, and that IOException discarded every
default source. The preferences then only show the "Loading" placeholder row,
which has an empty URL but still counted as valid, so enabling it stored it as
a source and every download failed with
"MalformedURLException: no protocol:".
* A blank URL is no longer a valid URL (MapWithAIInfo#hasValidUrl)
* MapWithAILayerInfo#add ignores sources without a URL; this also drops
already-stored broken entries on load
* The placeholder row can no longer be enabled/activated
* Downloads skip sources without a URL instead of throwing
* A failing overture catalog only drops the overture sources
Copy file name to clipboardExpand all lines: src/main/java/org/openstreetmap/josm/plugins/mapwithai/gui/preferences/mapwithai/MapWithAIProvidersPanel.java
0 commit comments