Skip to content

[Backport 2026.02.xx] Fix #12620 cyclomedia orb issue#12638

Merged
offtherailz merged 2 commits into
2026.02.xxfrom
backport-12631-to-2026.02.xx
Jul 13, 2026
Merged

[Backport 2026.02.xx] Fix #12620 cyclomedia orb issue#12638
offtherailz merged 2 commits into
2026.02.xxfrom
backport-12631-to-2026.02.xx

Conversation

@offtherailz

Copy link
Copy Markdown
Member

Description

Backport of #12631 to 2026.02.xx.

Fixes #12620

* Fix #12620 Cyclomedia images not shown

Cyclomedia retired the v23.7 StreetSmart API endpoint hardcoded as
default; their server now falls back to serving their own web app
shell (HTML) instead of a 404, which Chrome blocks as an opaque
response (ERR_BLOCKED_BY_ORB) when loaded as a script. Bump default
to the current v26.1, confirmed live and API-compatible.

Restrict providerSettings.StreetSmartApiURL to cyclomedia.com hosts,
consistent with the other cyclomedia endpoints already used by this
provider, falling back to the default otherwise.

* Show an error when the StreetSmart API fails to load

Previously, if the iframe's script tag failed to load or execute
(network issue, wrong/dead API version, blocked request), the plugin
was left stuck on the "Loading Street Smart API..." spinner forever
with no feedback. Detect this on iframe load and surface a proper
error message instead.

Also fixes a regression from the StreetSmartApiURL host validation:
an explicit empty string (used by tests to inject a mocked API via
`scripts` instead of loading a real script) was being treated as
invalid and replaced with the default URL.

(cherry picked from commit c27c111)
@offtherailz offtherailz added this to the 2026.02.00 milestone Jul 13, 2026
@cla-bot cla-bot Bot added the CLA Ready label Jul 13, 2026
@offtherailz offtherailz enabled auto-merge (squash) July 13, 2026 14:12
@offtherailz offtherailz linked an issue Jul 13, 2026 that may be closed by this pull request
1 task
@offtherailz offtherailz requested a review from allyoucanmap July 13, 2026 14:53
@offtherailz offtherailz merged commit 7c861f1 into 2026.02.xx Jul 13, 2026
17 checks passed
@offtherailz offtherailz deleted the backport-12631-to-2026.02.xx branch July 13, 2026 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to view Cyclomedia images

3 participants