After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 402054 - Should not allow duplicate keywords to be assigned to a file
Should not allow duplicate keywords to be assigned to a file
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jamie McCracken
Jamie McCracken
: 422768 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-01-29 11:44 UTC by John Stowers
Modified: 2008-10-29 12:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description John Stowers 2007-01-29 11:44:10 UTC
Currenly tracker allows the same keyword to be assinged to a file, this doesnt make too much sense in real world situations.

Tracker should check for the uniqueness of a keyword per file.
Comment 1 Kris Marsh 2007-04-07 23:15:29 UTC
Confirmed.

Steps to reproduce:
moogman@gbcdff1461m:~$ touch file
moogman@gbcdff1461m:~$ tracker-tag file
/home/moogman/file:
moogman@gbcdff1461m:~$ tracker-tag file -a test
moogman@gbcdff1461m:~$ tracker-tag file -a test
moogman@gbcdff1461m:~$ tracker-tag file -a test
moogman@gbcdff1461m:~$ tracker-tag file -l
/home/moogman/file: test test test

Actual results:
The tag "test" gets assigned to the file multiple times.

Expected results:
That the tag "test" gets assigned to the file once. Any further attempts should
not add the same tag.

Does this happen every time?
Yes

Other information:
moogman@gbcdff1461m:~$ trackerd --version
Tracker version 0.5.4 Copyright (c) 2005-2006 by Jamie McCracken
(jamiemcc@gnome.org)

moogman@gbcdff1461m:~$ apt-cache show tracker | grep Version
Version: 0.5.4-4
Comment 2 Kris Marsh 2007-04-07 23:19:24 UTC
*** Bug 422768 has been marked as a duplicate of this bug. ***
Comment 3 Ivan Frade 2008-10-29 12:29:58 UTC
Fixed in trunk.