Issue Details (XML | Word | Printable)

Key: JRA-6900
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Dylan Etkin [Atlassian]
Reporter: =Neal Applebaum
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
JIRA

Issue navigator doesn't respect/remember new search order

Created: 04/Jun/05 08:51 PM   Updated: 30/Jul/06 07:35 PM
Component/s: Web interface
Affects Version/s: 3.2
Fix Version/s: 3.2.1

Time Tracking:
Not Specified

File Attachments: 1. Microsoft Word System Error.doc (43 kB)

Environment: on your website
Issue Links:
Cause
 

Participants: =Neal Applebaum, Dylan Etkin [Atlassian] and Scott Farquhar [Atlassian]
Since last comment: 3 years, 25 weeks, 5 days ago
Resolution Date: 08/Jun/05 02:13 AM
Labels:


 Description  « Hide
I ran a search ("Reported Issues" modifed to allow for any issue status), and sorted it by priority in descending order. I viewed the first and then the second issue, and decided to change the order by sorting on key. So I clicked on Return to Search, and then clicked on the Key column to sort by Key ascending. Then I clicked on the first issue and while it did take me to that issue, it told me it was issue 25 of 42 (based on its place in my original search rather than the new one).
I can't recall exactly what steps I did next (sorry), but I was trying to figure out what I had done, and then I got an error which I've attached.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Scott Farquhar [Atlassian] added a comment - 04/Jun/05 09:35 PM
The changed search not reflected in the next/previous is probably due to hashCode() being implemented incorrectly on the searchRequest.

The ArrayIndexOutOfBounds is a bug in commons-collections. We'll get them both fixed.


Dylan Etkin [Atlassian] added a comment - 08/Jun/05 02:13 AM
This has been fixed by changed the equals and hashcode methods on the SearchSort class, they now respect the order as well as the field. Also removed the use of the BufferedList and am now using ArrayList since we are doing the bounds checking ourselves.