Skip to content

Fix OSLO checks#345

Merged
bearfriend merged 3 commits intomainfrom
dgleckler/fix-oslo-check
Mar 31, 2026
Merged

Fix OSLO checks#345
bearfriend merged 3 commits intomainfrom
dgleckler/fix-oslo-check

Conversation

@bearfriend
Copy link
Copy Markdown
Contributor

GAUD-9274

getDocumentLocaleSettings creates an oslo object with empty values even when the document element has no data-oslo attribute. This was causing the URL updating logic to run because it checked only for that object's existence.

Since oslo.collection is required for the cache key, we can check that instead and move some other stuff deeper to avoid running unnecessarily.

@bearfriend bearfriend requested a review from margaree March 31, 2026 19:50
@bearfriend bearfriend requested a review from a team as a code owner March 31, 2026 19:50
@bearfriend bearfriend enabled auto-merge (squash) March 31, 2026 19:56
@bearfriend bearfriend merged commit 7cba988 into main Mar 31, 2026
2 checks passed
@bearfriend bearfriend deleted the dgleckler/fix-oslo-check branch March 31, 2026 19:59
@d2l-github-release-tokens
Copy link
Copy Markdown

🎉 This PR is included in version 3.34.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants