GNOME Bugzilla – Bug 402054
Should not allow duplicate keywords to be assigned to a file
Last modified: 2008-10-29 12:29:58 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.
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
*** Bug 422768 has been marked as a duplicate of this bug. ***
Fixed in trunk.