[ http://jira.codehaus.org/browse/DISPL-243?page=comments#action_46601 ]
Jorge L. Barroso commented on DISPL-243: ---------------------------------------- Fabrizio, You're welcome; glad to help. Regarding the unit tests, TestAll fails when running the test goal "fresh out of the box". This is what I did to generate the unit test result below. 1. Download project with maven 2. run "maven jar" from displaytag dir. Looks like something fundamental is missing in my sandbox or procedure, which wouldn't surprise me much as I'm new to maven. Having done some research to no avail, I'd really appreciate it if you could shed some light on what's missing as I have some other changes I'd like to submit after running unit tests. The culprit seems to be String[] files in TestAll.findAndStoreTestClasses coming back null. Testsuite: org.displaytag.test.TestAll Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec Null Test: Caused an ERROR null java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) Caused by: java.lang.NullPointerException at org.displaytag.test.ClassFinder.findAndStoreTestClasses(TestAll.java:180) at org.displaytag.test.ClassFinder.<init>(TestAll.java:156) at org.displaytag.test.TestAll.suite(TestAll.java:104) ... 7 more Thanks, -Jorge > Default column sort breaks sorting after a few sorts of the column > ------------------------------------------------------------------ > > Key: DISPL-243 > URL: http://jira.codehaus.org/browse/DISPL-243 > Project: DisplayTag > Type: Bug > Components: Paging/Sorting > Versions: 1.1 > Fix For: 1.1 > Attachments: TEST-org.displaytag.test.TestAll.txt, > TEST-org.displaytag.test.TestAll.xml, TableTagPatch > > > When sorting columns that have been configured with a default sort order, > after a few sorts the column stops sorting and remains sorted in the opposite > direction configured. So, for example, if the column is configured to first > sort descending, after a few sorts it stops sorting and remains sorted in the > ascending direction. This bug only occurs with columns that have been > configured with a default sort order. > Attached you'll find a patch that fixes this issue, a couple of line changes > in TableTag.java. > BTW, as I'm sure you know, the current org.displaytag.test.TestAll in cvs > fails. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel