hardware plugin not reporting on upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
Critical
|
Björn Tillenius |
Bug Description
In doing upgrade tests on the client, I noticed that hardware information was not reported. I traced through the code and I believe the problem is the registration of events that the hardware listens for.
in r470, a change was made to listen on message-
Looking at the other client modules, it looks like this should be reported with not only the call_on_accepted callback, but also the call_if_accepted callback which I think will report at startup regardless of state.
I'm attaching a branch with the proposed fix, which works as I expect, but has no tests, and may possibly be a naive implementation.
Related branches
tags: | added: theme-hardware |
Changed in landscape-client: | |
status: | New → In Progress |
assignee: | nobody → Björn Tillenius (bjornt) |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
I've added tests to the patch and commited it in r517.
I also filed bug 955899 about how to address this problem properly.