When two data sources share the same ID, bad things happen
Bug #1243104 reported by
Pete Woods
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libusermetrics |
Fix Released
|
High
|
Pete Woods | ||
libusermetrics (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Since the addition of per-application namespaces in response to the security review, two sources can share the same ID.
Unfortunately, libusermetricso
Related branches
lp:~unity-team/libusermetrics/handle-shared-data-source-ids
- PS Jenkins bot (community): Approve (continuous-integration)
- Unity Team: Pending requested
-
Diff: 721 lines (+120/-124)17 files modifieddata/com.canonical.UserMetrics.xml (+0/-2)
data/com.canonical.usermetrics.DataSet.xml (+1/-1)
data/com.canonical.usermetrics.UserData.xml (+2/-2)
po/en_GB.po (+15/-15)
po/libusermetrics.pot (+15/-15)
src/libusermetricsoutput/SyncedUserData.cpp (+15/-13)
src/libusermetricsoutput/SyncedUserData.h (+3/-2)
src/libusermetricsoutput/SyncedUserMetricsStore.cpp (+20/-32)
src/libusermetricsoutput/SyncedUserMetricsStore.h (+2/-2)
src/libusermetricsoutput/UserMetricsImpl.cpp (+9/-9)
src/libusermetricsoutput/UserMetricsStore.cpp (+2/-2)
src/libusermetricsoutput/UserMetricsStore.h (+1/-1)
src/usermetricsservice/DBusDataSet.cpp (+2/-2)
src/usermetricsservice/DBusDataSet.h (+3/-2)
src/usermetricsservice/DBusUserData.cpp (+8/-3)
src/usermetricsservice/DBusUserMetrics.cpp (+2/-3)
tests/unit/libusermetricsoutput/TestSyncedUserMetricsStore.cpp (+20/-18)
Changed in libusermetrics: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Pete Woods (pete-woods) |
Changed in libusermetrics: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:libusermetrics at revision 143, scheduled for release in libusermetrics, milestone Unknown