View Issue Details

IDProjectCategoryView StatusLast Update
0002311HTML & PERLBug Report - Interfacepublic2016-02-15 02:12
ReporterCDB-Man Assigned ToDerIdiot  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0002311: Tag usage stats do not update when reassigning tags with tag admin
Descriptionhttp://anidb.net/perl-bin/animedb.pl?show=tag&reltb=animetb&tagid=724
Tag Stats usage: 86 total, 16 Character

Cuan mass reassigned the former anime tag rels on shotacon (t724) to shota (t1894) using the tag admin.  Because add-delete rel creqs are not generated, but instead tag rel edits are generated, the stats do not get updated.

=====
http://anidb.net/perl-bin/animedb.pl?show=tag&tagid=654

I encountered same issue with this tag.
Tag Stats usage: 9 total, 9 Character
> only 2 characters tagged

I used the admin to mass-retag 7 characters from headscarf (t654) to bandana (t64), but since only tag rel edit creqs were generated, instead of add-delete creqs, the stats did not update.

8[18:10:16] @Lafiel[AR]: TAG ENTITY RELATION EDITED: bandana for Miyamoto Masashi - http://anidb.net/t64 - http://anidb.net/ch50310 - http://anidb.net/c7170630
8[18:10:18] @Lafiel[AR]: TAG ENTITY RELATION EDITED: bandana for Madera - http://anidb.net/t64 - http://anidb.net/ch41229 - http://anidb.net/c7170631
8[18:10:18] @Lafiel[AR]: TAG ENTITY RELATION EDITED: bandana for Kusanoou - http://anidb.net/t64 - http://anidb.net/ch28314 - http://anidb.net/c7170632
8[18:10:18] @Lafiel[AR]: TAG ENTITY RELATION EDITED: bandana for Matsuda Yoshiyuki - http://anidb.net/t64 - http://anidb.net/ch28817 - http://anidb.net/c7170633
8[18:10:18] @Lafiel[AR]: TAG ENTITY RELATION EDITED: bandana for Masui Shougo - http://anidb.net/t64 - http://anidb.net/ch21390 - http://anidb.net/c7170634
8[18:10:19] @Lafiel[AR]: TAG ENTITY RELATION EDITED: bandana for Iriya Natsumi - http://anidb.net/t64 - http://anidb.net/ch19744 - http://anidb.net/c7170635
8[18:10:19] @Lafiel[AR]: TAG ENTITY RELATION EDITED: bandana for Goshogawara Fuumei - http://anidb.net/t64 - http://anidb.net/ch19704 - http://anidb.net/c7170636
TagsNo tags attached.

Activities

CDB-Man

2015-08-04 22:28

manager   ~0003573

However, as soon as I manually add/delete the broken tag to another entity, ie:
8[18:25:32] @Lafiel[AR]: TAG ENTITY RELATION ADDED: headscarf for Test Character Female - http://anidb.net/t654 - http://anidb.net/ch70472

The cache updates to its proper number:
Tag Stats usage: 3 total, 3 Character

TL;DR: tag admin mass tag entity rel reassignment, due to using EDIT creqs, as opposed to ADD/DEL creqs, bypasses tag usage statistics update, leaving behind out of date cache that will not later be updated until another tag entity rel is ADDed or DELeted.

Issue History

Date Modified Username Field Change
2015-08-04 22:20 CDB-Man New Issue
2015-08-04 22:28 CDB-Man Note Added: 0003573
2016-02-13 21:42 DerIdiot Status new => resolved
2016-02-13 21:42 DerIdiot Resolution open => fixed
2016-02-13 21:42 DerIdiot Assigned To => DerIdiot