Skip Menu |
 

This queue is for tickets about the Jifty CPAN distribution.

Report information
The Basics
Id: 75579
Status: resolved
Priority: 0/
Queue: Jifty

People
Owner: Nobody in particular
Requestors: fschlich [...] zedat.fu-berlin.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.10518
Fixed in: (no value)



Subject: Failed test at t/TestApp/t/09-redirect.t line 26: <IMG SRC="/images/pony.jpg"> tag has no HEIGHT and WIDTH attributes.
Hi, latest Test::HTML::Lint (2.10 of 6 December 2011) fixed a bug where tags that were self-closed were being ignored. As a consequence, the following test failure occurs in jifty: perl -w t/TestApp/t/09-redirect.t 1..8 ok 1 - The object isa Jifty::TestServer ok 2 - psgi test server ok ok 3 - Got redirect ok 4 - Filled in action go not ok 5 # Failed test at t/TestApp/t/09-redirect.t line 26. # Errors: # (115:1) <IMG SRC="/images/pony.jpg"> tag has no HEIGHT and WIDTH attributes. ok 6 - At index ok 7 - Explicit redirect ok 8 - Content is like "(?^:action="/otherplace")" # Looks like you failed 1 test of 8. This is easily fixed by the following patch, but it seems there are a few other places where images are used in standard templates without a height and width attribute: --- a/t/TestApp/share/web/templates/index.html +++ b/t/TestApp/share/web/templates/index.html @@ -1,4 +1,4 @@ <&|/_elements/wrapper, title => 'Jifty Test Application' &> -<img src="/images/pony.jpg" alt="A Pony"/> +<img src="/images/pony.jpg" alt="A Pony" height="422" width="640" /> This is content </&> Florian


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.