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 422768 - Adding the same tag multiple times in tracker-tag
Adding the same tag multiple times in tracker-tag
Status: RESOLVED DUPLICATE of bug 402054
Product: tracker
Classification: Core
Component: General
unspecified
Other All
: Normal normal
: ---
Assigned To: Jamie McCracken
Jamie McCracken
Depends on:
Blocks:
 
 
Reported: 2007-03-25 20:25 UTC by Kris Marsh
Modified: 2007-04-07 23:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kris Marsh 2007-03-25 20:25:52 UTC
Please describe the problem:
It's possible to add the same tag multiple times, with tracker-tag.

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

moogman@gbcdff1461m:~$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.04
DISTRIB_CODENAME=feisty
DISTRIB_DESCRIPTION="Ubuntu feisty (development branch)"
Comment 1 Kris Marsh 2007-04-07 23:19:24 UTC

*** This bug has been marked as a duplicate of 402054 ***