touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #119969
[Bug 1274635] Re: Scoperegistry exits if remote scopes are not available
** Changed in: unity-scopes-api (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1274635
Title:
Scoperegistry exits if remote scopes are not available
Status in unity-scopes-api:
Fix Released
Status in unity-scopes-api package in Ubuntu:
Fix Released
Bug description:
Scoperegistry (trunk) exits immediately when loading remote scopes
fails. This is caused by rev. 161 and this line in scoperegistry.cpp:
load_remote_scopes(registry, middleware, ss_reg_id, ss_reg_endpoint);
If it throws, it terminates scoperegistry. Error in load_remote_scopes
shouldn't be fatal for scoperegistry, it should still work with local
scopes.
On a related note, just try-catch around load_remote_scopes doesn't
fully solve the problem; it causes a crash of demo scope-B, which
suggests that when load_remote_scopes throws, it already does some
modifications to the registry that have bad consequences later.
To manage notifications about this bug go to:
https://bugs.launchpad.net/unity-scopes-api/+bug/1274635/+subscriptions