SmartScopesClient - a missing attribute disables all remote scopes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-scopes-api |
Fix Released
|
Critical
|
Marcus Tomlinson | ||
unity-scopes-api (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The main loop in SmartScopesClie
There are three problems that I see there:
- this "break" statement breaks main loop:
if (!child_
{
}
- no error/warning if a mandatory attribute is missing.
- the try..catch blocks surrounds entire loop (we should be handling exceptions inside the loop so that we can process as many remote scopes as possible).
Related branches
- Paweł Stołowski (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Michi Henning (community): Approve
-
Diff: 185 lines (+82/-37)2 files modifiedsrc/scopes/internal/smartscopes/SmartScopesClient.cpp (+76/-34)
test/gtest/scopes/internal/smartscopes/SmartScopesClient/FakeSss.py (+6/-3)
Changed in unity-scopes-api (Ubuntu): | |
status: | New → Fix Released |
Changed in unity-scopes-api: | |
status: | Fix Committed → Fix Released |
Thanks for that Pawel!