MantisBT - Piwigo
View Issue Details
0002732Piwigotagspublic2012.08.29 19:132012.09.04 23:13
rvelices 
 
normalfeaturealways
closedfixed 
2.4.3 
2.4.42.4.4 
any
Apache 1.3.x
0002732: when new tags must be added, also look first for existing tags with different case
if already have tag "animals" and want to sync a new tag "Animals", use the existing "animals" instead of creating a new one

Note: also useful for the showcase to avoid different cases for the same tag
No tags attached.
Issue History
2012.08.29 19:13rvelicesNew Issue
2012.08.29 19:13rvelicesbrowser => any
2012.08.29 19:13rvelicesWeb server => Apache 1.3.x
2012.08.30 14:57plgNote Added: 0006589
2012.08.30 17:40rvelicesNote Added: 0006591
2012.08.31 14:41plgNote Added: 0006597
2012.09.03 22:48svnCheckin
2012.09.03 22:48svnNote Added: 0006601
2012.09.03 22:49svnCheckin
2012.09.03 22:49svnNote Added: 0006602
2012.09.04 23:13rvelicesStatusnew => closed
2012.09.04 23:13rvelicesResolutionopen => fixed
2012.09.04 23:13rvelicesFixed in Version => 2.4.4

Notes
(0006589)
plg   
2012.08.30 14:57   
Actually, this is exactly why I had implemented the "merge tags" features. But the "merge tags" require a manual action. Actually I think your idea is better (even if merging tags can be useful in other situations).
(0006591)
rvelices   
2012.08.30 17:40   
tag merging will be still useful. what I have in mind

- explicit creation of a tag in admin page - will create the tag even if a different case tag exists

another use will be extended description tags in conjuction with iptc sync

My idea for tag_id_from_tag_name
- if exact name match, then the name match
- if case-insesitive name match, then the first choice
- if url_name match, then the first choice
(0006597)
plg   
2012.08.31 14:41   
Sounds perfect!
(0006601)
svn   
2012.09.03 22:48   
[Subversion] r17724 by rvelices on trunk

-----[Subversion commit log]----------------------------------------------------
bug 2732: when new tags must be added, also look first for existing tags with different case
(0006602)
svn   
2012.09.03 22:49   
[Subversion] r17725 by rvelices on branch 2.4

-----[Subversion commit log]----------------------------------------------------
merge -r17724 from trunk to branch 2.4
bug 2732: when new tags must be added, also look first for existing tags with different case