Fix tag change notification shipping a bogus name.

Authored by dfaure on Feb 3 2019, 7:06 PM.

Description

Fix tag change notification shipping a bogus name.

Summary:
The code doing a SQL query was preparing a condition, but wasn't
actually using it. So this was listing all attributes from
ALL tags (instead of the desired one) and the last one would win.

Bug initially detected by zanshin's unittests.

Test Plan:
Added a new unittest in tagtest which failed before this fix
(the notification contained the name of the second tag)

Reviewers: dvratil

Subscribers: ervin, kde-pim

Differential Revision: https://phabricator.kde.org/D18709

Details

Committed
dfaureFeb 5 2019, 8:25 PM
Differential Revision
D18709: Fix tag change notification shipping a bogus name.
Parents
R165:ccea01c5cd15: AggregatedFetchScope: fix fetchAllAttributes for tags.
Branches
Unknown
Tags
Unknown