Tango.info track tagger bugs

From tango.info wiki
Jump to navigation Jump to search

tango.info track tagger

Overview

Suggested way to document a bug, write:

  • Steps to reproduce
  • Expected outcome
  • Observed outcome

List

Bug1

in URI mode (only), failure on track reference parsing

  • fine

https://tango.info/tools/tagger1.3.2.php?track_references=http://cjj1.com/chrisjj/tango/cjjsets/2009-09-18_Wolfson.html

NOTE: Acceptance of URL in track references field is undefined behavior! Chrisjjj 2010-12-03T11:29:05 (UTC)

  • fails

https://tango.info/tools/tagger1.3.2.php?track_references=https://tango.info/wiki/User:Tobiasco/FresedoRRRR&format_string=%25tint%25

each tint contained thrice, source for one tint:

<a href="https://tango.info/00743212200621-1-2" 
class="external free" title="https://tango.info/00743212200621-1-2"
rel="nofollow">https://tango.info/00743212200621-1-2</a>

Bug2

%year% can be missing, while page shows a year

On V1.3.2, %year% can fail, returning a null string instead of the year value e.g. track page shows year 1941:

http://img442.imageshack.us/img442/1194/trackbendigotunombretan.png

but using format string %year%, tagger tag list shows null:

http://img855.imageshack.us/img855/3026/tangoinfogooglechrome.png

This did not happen on a track the date of which had month and day.

Use format_string=%date%;%year% for testing this bug.

Bug3

null output can cause a missing tag list line

On V1.3.2, null output from a field (such as caused by the %year% failure reported separately) can cause a missing tag list line, leading to misaligment of tag lines v. tracks and hence to severe mistagging. E.g. http://img163.imageshack.us/img163/3026/tangoinfogooglechrome.png

This did not happen where the track line generated other output e.g. from format string %year%; .

Not always missing:

07730725820029-1-1
07730725820029-1-1
07798108080255-1-1
gives two lines

07798108080255-1-1
07730725820029-1-1
07798108080255-1-1
gives three lines

If the %year% is filled in case Bug2 is fixed, one can use format_string=%dummy% to test this bug.


2013-03-12 - another empty line failure. Using

  • V1.3.5
  • 07798089730712
  • %tidp%

%tidp% is empty for 07798089730712-1-1 and the line for that TINT is dropped. Using %tint%;%tidp% returns the line for the first TINT.

Bug4

Tag list and Process message layout

On V1.3.2, Tag list and Process message: are on the same line, as if a line break was missing.

http://img163.imageshack.us/img163/3026/tangoinfogooglechrome.png

Bug5

On V1.3.3, TINT is broken in tagger: https://tango.info/tools/tagger1.3.3.php?track_references=02480003031627-1-19 says Error: track not found (02480003031627-1-19)

Fixed in V1.3.5: https://tango.info/tools/tagger1.3.5.php?track_references=02480003031627-1-19

Bug6

V1.3.5: Misalignment! If an empty line comes before a non-empty line, misalignment is observed:

input

00008637203429-1-7
00008637206123-1-22
00008637206628-1-21

format string %tiwc%, output:

 
 Z0999901454
 

format string %tint%;%tiwc%, output:

 00008637203429-1-7;
 00008637206123-1-22;
 00008637206628-1-21;Z0999901454
 

HTML source


<textarea rows='9' cols='115' onfocus='this.select();'>

Z0999901454
</textarea>
<textarea rows='9' cols='115' onfocus='this.select();'>00008637203429-1-7;
00008637206123-1-22;
00008637206628-1-21;Z0999901454
</textarea>

Fixed in V1.3.6 - adding a new line after the opening textarea element.