Project-Id-Version: Trac 0.12
Report-Msgid-Bugs-To: trac-dev@googlegroups.com
POT-Creation-Date: 2008-01-30 09:20+0100
PO-Revision-Date: 2010-07-19 23:05+0200
Last-Translator: Jeroen Ruigrok van der Werven <asmodai@in-nomine.org>
Language-Team: en_US <trac-dev@googlegroups.com>
Plural-Forms: nplurals=2; plural=(n != 1)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Generated-By: Babel 0.9.6

Warning: Can't synchronize with repository "(default)" (Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.

Ticket #151 (accepted bug)

Opened 8 years ago

Last modified 7 years ago

Delete Excess Tags/Metadata

Reported by: dgBoldt Owned by: sebastian
Priority: minor Milestone: 2.4
Component: unspecified Version:
Keywords: tags, metadata Cc: dave.gruentzel@boldt.com

Description

We uploaded some photos that had some tags on them, deleted those tags in the gallery, but they keep showing up in search queries and the drop down when we add new tags.

Also, we had a tag that was capitalized but tried to update it with the lower case but it always saves with the original capitalized version. Even when that tag no longer exist on the site and the photos that had that tag are also deleted.

For example we wanted to change the tag "Education" to "education" on the photo but it always uses the "Education" one. And it happens no matter what photo we try tagging.

So, my main questions is ca we easily delete tags that are not being used?

Attachments

tags.png (46.6 KB) - added by dgBoldt 8 years ago.
No photos are related to this search

Change History

Changed 8 years ago by dgBoldt

No photos are related to this search

comment:1 Changed 8 years ago by sebastian

  • Owner set to sebastian
  • Status changed from new to accepted

Thank you for submitting this issue.

The function "delete all unused tags" was recently added to the dev branch (https://github.com/xemle/phtagr/commit/a845d6a8e207b09a21a9d5e532f69eb33b446d1e). I plan to merge the dev branch "soon" to the master branch and release a new beta version with a new layout. See http://dev.phtagr.org for a preview.

Regarding to change the capitalized version it's caused by MySQL query. The query is not case sensive by default. See http://dev.mysql.com/doc/refman/5.0/en/case-sensitivity.html for further information. Since phTagr uses the PHP framework CakePHP which wraps also the SQL statements I guess it would not that easy to change this behavior.

You can either switch to the dev branch to have the "delete all unused tags" function or you edit your database manually (or you bother me again and again to merge the "delete all unused tags" function to the master branch soon). I would prefer to switch to the dev branch because I would need also beta tester for it :-)

The "delete all unused tags" function would also imply a workaround for changing the case of letters by renaming the wrong tAg to "tag2", remove all unused tags and rename tag2 to "tag" again. "renaming" is doen via selection all images with the tag and remove the old and add a new tag like "-tAg, tag2".

Xemle

comment:2 Changed 7 years ago by sebastian

  • Milestone set to 2.4
Note: See TracTickets for help on using tickets.