Skip to content

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

Merged
mirkobrombin merged 1 commit into
singularityos-lab:mainfrom
perlowja:fix/ocs-import-owner-id
Oct 14, 2026
Merged

mirkobrombin merged 1 commit into
singularityos-lab:mainfrom
perlowja:fix/ocs-import-owner-id

Conversation

@perlowja

@perlowja perlowja commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

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.
@mirkobrombin

Copy link
Copy Markdown
Member

Good catch, one line and the cause is clear. Merging.

@mirkobrombin
mirkobrombin merged commit 78c166b into singularityos-lab:main Oct 14, 2026
2 checks passed
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.

2 participants