Daemon runs global scripts even when there is no extrainformation
Bug #1009630 reported by
Jono Bacon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Accomplishments Daemon |
Fix Released
|
Low
|
Matt Fischer |
Bug Description
If you start the daemon and you don't have required data in .extrainformation, the daemon runs the scripts anyway and the scripts exit with 4. Ideally the scripts should only run if we have data for the required needs-information.
To reproduce:
* Remove your ~/.local/
* Run the daemon and before you can add the missing information in the client, the scripts are run.
Related branches
lp:~mfisch/ubuntu-accomplishments-daemon/ubuntu-accomplishments-daemon-lp1009630
- Ubuntu Accomplishments Daemon Developers: Pending requested
-
Diff: 297 lines (+102/-42)2 files modifiedaccomplishments/daemon/api.py (+65/-40)
accomplishments/daemon/tests/tests.py (+37/-2)
Changed in ubuntu-accomplishments-daemon: | |
assignee: | nobody → Matt Fischer (mfisch) |
Changed in ubuntu-accomplishments-daemon: | |
status: | Confirmed → In Progress |
Changed in ubuntu-accomplishments-daemon: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix will be released in 0.3