[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#415931: debbugs: dupped entries when Classification in usercategory



Package: debbugs

Hi,

Been playing with usertags for dpkg and found that when giving the
following usercategory the output from pkgreport.cgi has dupped
entries:

usercategory dpkg-class
 * Classification [tag=]
  + Segfault [segfault]
  + Assertion failure [assert]
  + Conffile handling [conffile]
  + Performance issue [perf]
  + Trivial fix [trivial]
  + New control field [new-field]
  + Wig and Pen [wig-and-pen]
  + Non-Debian issue [not-debian]
  + UTF-8 encoding [utf-8]
  + Documentation [doc]
  + Localization [l10n]
  + Other []

This is what gets stored in the user file in merkel's mirror, notice
the duped order indices:

Category: dpkg-class
Hidden: yes
Cat1: Classification
Cat1Options:
 tag=segfault - Segfault
 tag=assert - Assertion failure
 tag=conffile - Conffile handling
 tag=perf - Performance issue
 tag=trivial - Trivial fix
 tag=new-field - New control field
 tag=wig-and-pen - Wig and Pen
 tag=not-debian - Non-Debian issue
 tag=utf-8 - UTF-8 encoding
 tag=doc - Documentation
 tag=l10n - Localization
Cat1Default: Other
Cat1Order: 11, 11, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8,
 9, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22


I just sent an updated usercategory which does not trigger this bug,
which seems to be caused by having:

 * Classification [tag=]

On the working one I set:

 * Dpkg-Class [tag=]

So please either error out on that, or fix the dupes. ;)

regards,
guillem



Reply to: