History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: FISH-140
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Tim Pettersen
Reporter: Tim Pettersen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JIRA FishEye Plugin

Crucible tab doesn't display for "project" review keys (e.g. CR-FE-808)

Created: 13/Mar/08 07:13 PM   Updated: 13/Mar/08 07:31 PM
Component/s: None
Affects Version/s: 1.4
Fix Version/s: 1.5

Time Tracking:
Not Specified

Labels:


 Description  « Hide
ReviewIdComparator was not updated to handle Crucible projects.

Stacktrace:

2008-03-14 11:02:49,453 http-8090-Processor4 ERROR [webwork.util.ServletValueStack] METHOD: "projectTabHtml", exception:
java.lang.NumberFormatException: For input string: "FE-10"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:447)
at java.lang.Integer.parseInt(Integer.java:497)
at com.atlassian.jira.ext.fisheye.crucible.ReviewIdComparator.parseIdNumber(ReviewIdComparator.java:22)
at com.atlassian.jira.ext.fisheye.crucible.ReviewIdComparator.compare(ReviewIdComparator.java:14)
at java.util.Arrays.mergeSort(Arrays.java:1284)
at java.util.Arrays.mergeSort(Arrays.java:1295)
at java.util.Arrays.mergeSort(Arrays.java:1295)
at java.util.Arrays.sort(Arrays.java:1223)
at java.util.Collections.sort(Collections.java:159)
at com.atlassian.jira.ext.fisheye.projecttabpanel.CrucibleProjectTabPanel.displayModeRecentReviews(CrucibleProjectTabPanel.java:115)
at com.atlassian.jira.ext.fisheye.projecttabpanel.CrucibleProjectTabPanel.getHtml(CrucibleProjectTabPanel.java:91)
at com.atlassian.jira.web.action.browser.Browser.getProjectTabHtml(Browser.java:366)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
snip



 All   Comments   Work Log   Change History   FishEye   Crucible   Related Builds      Sort Order: Ascending order - Click to sort in descending order
Tim Pettersen - 13/Mar/08 07:31 PM
Fixed - "project" style review keys are now accepted.

Also upped the robustness so that it won't fall over next time it hits a review key it can't parse. The plugin now simply logs the unparsable key and moves on.