Skip to content

fix(wallpapers-ocs): set owner_id to the registered provider id - #6

Open
perlowja wants to merge 1 commit into
singularityos-lab:mainfrom
perlowja:fix/ocs-import-owner-id
Open

perlowja wants to merge 1 commit into
singularityos-lab:mainfrom
perlowja:fix/ocs-import-owner-id

Conversation

@perlowja

@perlowja perlowja commented Sep 30, 2026 •

Copy link
Copy Markdown

WallpaperOcs.items() set owner_id to the per-network name (e.g. pling), but the registered provider id is ocs, so import_card() failed every OCS import with "Wallpaper provider is not active".

One line in wallpapers-ocs/wallpapers_ocs.vala: set each item's owner_id to the provider id. Split out of #4, which keeps only the choices() fix.

Verified: failure reproduced on a live desktop session; with this commit on current main the tree builds and the test suite passes (24/24). Not re-run against the live OCS service.

AI assistance: disclosed

WallpaperOcs.items() sets owner_id to the per-network name (for example
"pling"), but the registered provider id is "ocs". import_card() calls
provider_registry.lookup(item.owner_id), so every OCS import failed with
"Wallpaper provider is not active".

Assisted-by: Claude Code:claude-sonnet-5
AI-Scope: Root-caused the owner_id mismatch and wrote the one-line fix against a live desktop session.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant