Opened 12 years ago

Last modified 10 years ago

#12 assigned defect

New Text::WikiFormat breaks tests with extended links

Reported by: Dominic Hargreaves Owned by: Kake
Priority: major Milestone:
Component: wiki-toolkit-formatter-usemod Version:
Keywords: hackfestsummer2007-reviewed Cc:

Description

New Text::WikiFormat? (0.76 and 0.78 at least; not 0.71) break the tests for this module. Possibly an API change or bug introduced T::WF?

t/usemod.....................ok 2/25#     Failed test (t/usemod.t at line 107)
#                   '<p>This is an <a href="wiki.pl?[Extended_Link]<a href="wiki.pl?action=edit;id=Extended_Link">?</a>">Extended Link</a>.</p>
# <p>This is a lower-case <a href="wiki.pl?[Extended_Link]<a href="wiki.pl?action=edit;id=Extended_Link">?</a>">extended link</a>.</p>
# <p>This is a <a href="wiki.pl?[Extended_Link]<a href="wiki.pl?action=edit;id=Extended_Link">?</a>">titled extended link</a>.</p>
# <p>This is a <a href="wiki.pl?[Extended_Link_Two]<a href="wiki.pl?action=edit;id=Extended_Link_Two">?</a>">title with leading whitespace</a>.</p>
# <p>This is <a href="wiki.pl?[Another_Link]<a href="wiki.pl?action=edit;id=Another_Link">?</a>">another titled link</a>.</p>
# '
#     doesn't match '(?-xism:<a href="wiki.pl\?Extended_Link">Extended Link</a>)'
#     Failed test (t/usemod.t at line 109)
#                   '<p>This is an <a href="wiki.pl?[Extended_Link]<a href="wiki.pl?action=edit;id=Extended_Link">?</a>">Extended Link</a>.</p>
# <p>This is a lower-case <a href="wiki.pl?[Extended_Link]<a href="wiki.pl?action=edit;id=Extended_Link">?</a>">extended link</a>.</p>
# <p>This is a <a href="wiki.pl?[Extended_Link]<a href="wiki.pl?action=edit;id=Extended_Link">?</a>">titled extended link</a>.</p>
# <p>This is a <a href="wiki.pl?[Extended_Link_Two]<a href="wiki.pl?action=edit;id=Extended_Link_Two">?</a>">title with leading whitespace</a>.</p>
# <p>This is <a href="wiki.pl?[Another_Link]<a href="wiki.pl?action=edit;id=Another_Link">?</a>">another titled link</a>.</p>
# '
#     doesn't match '(?-xism:<a href="wiki.pl\?Extended_Link">extended link</a>)'
#     Failed test (t/usemod.t at line 111)
#                   '<p>This is an <a href="wiki.pl?[Extended_Link]<a href="wiki.pl?action=edit;id=Extended_Link">?</a>">Extended Link</a>.</p>
# <p>This is a lower-case <a href="wiki.pl?[Extended_Link]<a href="wiki.pl?action=edit;id=Extended_Link">?</a>">extended link</a>.</p>
# <p>This is a <a href="wiki.pl?[Extended_Link]<a href="wiki.pl?action=edit;id=Extended_Link">?</a>">titled extended link</a>.</p>
# <p>This is a <a href="wiki.pl?[Extended_Link_Two]<a href="wiki.pl?action=edit;id=Extended_Link_Two">?</a>">title with leading whitespace</a>.</p>
# <p>This is <a href="wiki.pl?[Another_Link]<a href="wiki.pl?action=edit;id=Another_Link">?</a>">another titled link</a>.</p>
# '
#     doesn't match '(?-xism:<a href="wiki.pl\?Extended_Link">titled extended link</a>)'
#     Failed test (t/usemod.t at line 115)
#                   '<p>This is an <a href="wiki.pl?[Extended_Link]<a href="wiki.pl?action=edit;id=Extended_Link">?</a>">Extended Link</a>.</p>
# <p>This is a lower-case <a href="wiki.pl?[Extended_Link]<a href="wiki.pl?action=edit;id=Extended_Link">?</a>">extended link</a>.</p>
# <p>This is a <a href="wiki.pl?[Extended_Link]<a href="wiki.pl?action=edit;id=Extended_Link">?</a>">titled extended link</a>.</p>
# <p>This is a <a href="wiki.pl?[Extended_Link_Two]<a href="wiki.pl?action=edit;id=Extended_Link_Two">?</a>">title with leading whitespace</a>.</p>
# <p>This is <a href="wiki.pl?[Another_Link]<a href="wiki.pl?action=edit;id=Another_Link">?</a>">another titled link</a>.</p>
# '
#     doesn't match '(?-xism:<a href="wiki.pl\?Extended_Link_Two">)'
# Looks like you failed 4 tests of 25.

Change History (9)

comment:1 Changed 12 years ago by anonymous

Component: wiki-toolkit-formatter-usemodwiki-toolkit-formatter-pod
Milestone: 0.70
Priority: majornormal
Type: defecttask
Version: svn1.0

t chat gratuite view blow job video free internet telephony show 1990 nissan maxima adult teen video woman sex free movie hardcore foot fetish sex i can t help falling in love you accommodation catering holiday looe self coin lindsay lohan slot internet security video camera car list recall seat jamaica news car online reservation chat rooms with web cameras 50 cent candyshop music video oakland international airport car rental 1997 suzuki katana 600 ??? mp3 wma ringtone blog lyrics movie oklahoma trial lawyer associationanti virus update computer networking cleveland ohio jessica simpson and nick lackey sofitel hotel montreal donner home rental tahoe vacation shades curtain blinds casino en.wikipedia.org fun hire mobile roulette site albany alternative medicine new york business home internet mlm adult gay hosting sharepoint web country bathroom design colorado escort female chrysler dealership dfw buddy guy this old fool mortgage servicing software evangel temple christian school birth death glasgow marriage martha street derringer let me in property management software program 80s gold music universal bullock sandra sex tape mac dj software marriage licence connecticut adult film free sex xxx free download dvd ripping software software application services in rain shelter stevie wonder casino download free offline alamo car number phone rental status quo dont drive my car

comment:2 Changed 12 years ago by anonymous

Component: wiki-toolkit-formatter-podwiki-toolkit-formatter-usemod
Milestone: 0.70
Priority: normaltrivial
Type: taskdefect
Version: 1.0

t chat gratuite view blow job video free internet telephony show 1990 nissan maxima adult teen video woman sex free movie hardcore foot fetish sex i can t help falling in love you accommodation catering holiday looe self coin lindsay lohan slot internet security video camera car list recall seat jamaica news car online reservation chat rooms with web cameras 50 cent candyshop music video oakland international airport car rental 1997 suzuki katana 600 ??? mp3 wma ringtone blog lyrics movie oklahoma trial lawyer associationanti virus update computer networking cleveland ohio jessica simpson and nick lackey sofitel hotel montreal donner home rental tahoe vacation shades curtain blinds casino en.wikipedia.org fun hire mobile roulette site albany alternative medicine new york business home internet mlm adult gay hosting sharepoint web country bathroom design colorado escort female chrysler dealership dfw buddy guy this old fool mortgage servicing software evangel temple christian school birth death glasgow marriage martha street derringer let me in property management software program 80s gold music universal bullock sandra sex tape mac dj software marriage licence connecticut adult film free sex xxx free download dvd ripping software software application services in rain shelter stevie wonder casino download free offline alamo car number phone rental status quo dont drive my car

comment:3 Changed 12 years ago by Dominic Hargreaves

Priority: trivialmajor

comment:4 Changed 12 years ago by Dominic Hargreaves

Status: newassigned

To narrow things down, this is introuced by Text::WikiFormat? 0.75 -> 0.76.

comment:5 Changed 12 years ago by Dominic Hargreaves

The only code changes in 0.76 according to the changelogs are:

  • fixed CAMELCASE linking bug reported by punkish on Perl Monks
  • fixed inadvertent $title reuse in find_link_title()
  • fixed a bug in list detection (find paragraphs correctly)

comment:6 Changed 11 years ago by Dominic Hargreaves

Owner: changed from Dominic Hargreaves to Nobody
Status: assignednew

comment:7 Changed 11 years ago by Kake

Keywords: hackfestsummer2007-reviewed added
Owner: changed from Nobody to Kake
Status: newassigned

Decision at hackfest: Kake hasn't looked at this yet, so should do so before any more action.

comment:8 Changed 10 years ago by Dominic Hargreaves

This is http://rt.cpan.org//Ticket/Display.html?id=34402 (bug in Text::WikiFormat?). Thanks to Jess Robinson for the diagnosis.

comment:9 Changed 10 years ago by Dominic Hargreaves

0.21 works around this by SKIPping the affected tests.

Note: See TracTickets for help on using tickets.