Closed (fixed)
Project:
Privatemsg
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Nov 2009 at 16:50 UTC
Updated:
21 Dec 2009 at 18:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
berdirStrange, that does not seem to happen on my local test site, I need to investigate further..
Comment #2
berdirFound the bug. Nice example why good test coverage is not enough. It doesn't help to view a page when testing the wrong stuff :)
For a single page, <> have not been tested and for all other pages, they were not being tested as html encoded: & gt;& gt; instead of >>. Interesting that you have to do it when asserting but it is not necessary when clicking a link...
The actual bug was that the $start < $last_page check did not check if there is only a single page.
Comment #3
berdirComment #4
berdirFixed in 6.x branches
Comment #5
berdirAnd also in 7.x-1.x-dev.