The download owner (APPID) is not stored in the db
Bug #1278393 reported by
Manuel de la Peña
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-download-manager |
Fix Released
|
Critical
|
Manuel de la Peña | ||
ubuntu-download-manager (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The download owner (APPP_ID) is not stored in the db. This means that the methods that return all the downloads are not returning only those of the app but those of the entire system.
Related branches
lp:~mandel/ubuntu-download-manager/db-store-owner
- PS Jenkins bot: Approve (continuous-integration)
- Diego Sarmentero (community): Approve
-
Diff: 156 lines (+34/-22)3 files modifiedsrc/downloads/priv/ubuntu/downloads/downloads_db.cpp (+4/-2)
tests/test_base_download.h (+1/-0)
tests/test_downloads_db.cpp (+29/-20)
lp:~mandel/ubuntu-download-manager/filter-all-per-app
- Diego Sarmentero (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 1563 lines (+1010/-117)19 files modifiedsrc/common/priv/CMakeLists.txt (+3/-0)
src/common/priv/ubuntu/transfers/system/apparmor.cpp (+31/-11)
src/common/priv/ubuntu/transfers/system/apparmor.h (+4/-1)
src/common/priv/ubuntu/transfers/system/dbus_proxy.h (+26/-20)
src/common/priv/ubuntu/transfers/system/dbus_proxy_factory.cpp (+85/-0)
src/common/priv/ubuntu/transfers/system/dbus_proxy_factory.h (+62/-0)
src/common/priv/ubuntu/transfers/system/pending_reply.h (+74/-0)
src/downloads/priv/ubuntu/downloads/manager.cpp (+47/-16)
src/downloads/priv/ubuntu/downloads/manager.h (+1/-1)
tests/CMakeLists.txt (+5/-0)
tests/apparmor.h (+2/-0)
tests/dbus_proxy.h (+74/-0)
tests/dbus_proxy_factory.h (+46/-0)
tests/download.h (+1/-0)
tests/pending_reply.h (+49/-0)
tests/test_apparmor.cpp (+162/-0)
tests/test_apparmor.h (+51/-0)
tests/test_download_manager.cpp (+279/-66)
tests/test_download_manager.h (+8/-2)
Changed in ubuntu-download-manager: | |
milestone: | none → 0.4 |
Changed in ubuntu-download-manager: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
This bug was fixed in the package ubuntu- download- manager - 0.3+14. 10.20140515- 0ubuntu1
--------------- download- manager (0.3+14. 10.20140515- 0ubuntu1) utopic; urgency=low
ubuntu-
[ Manuel de la Peña ]
* Add a new field in the transaction so that we know the application
that created it via its app id.
* Store the appid of the download owner in the downloads db. (LP:
#1278393)
* Ensure that the getAllDownloads* methods do filter per app id if the
application is confined. (LP: #1278393)
[ Alejandro J. Cura ]
* Include downloads_list.h in the udm -client-dev package (LP:
#1319553)
-- Ubuntu daily release <email address hidden> Thu, 15 May 2014 14:24:59 +0000