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

Key: XPR-402
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Mateusz Prokopowicz
Reporter: Cliff R.
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
xplanner

Can't upgrade past level 10 using auto-updater

Created: 16/May/07 12:58 PM   Updated: 17/Mar/08 03:37 PM
Component/s: Database
Affects Version/s: 0.8
Fix Version/s: 0.8b4

Time Tracking:
Not Specified

File Attachments: 1. Text File migrate story priority.patch (1 kb)


JDK version and platform: JDK 5 for Windows
Database: MySQL 5.0.37
Application server: Tomcat
Patch attached: Yes


 Description  « Hide
I was getting a class cast exception in MigrateStoryPriorityToOrderNo when it was migrating from 10 to 11. I looked at the history and it appears that it was broken when it was refactored in July of last year.

The developer made the mistake of assuming that they would get back a list of Integers. However, they were getting back a List of Maps that were <String, Object>. Was this even tested?

To reproduce, use 0.7b4 and add some data (I don't know how much, but we have over a year's worth of data). Then set the patch level to 9. Replace the 0.7b4 version with the latest dev build and the auto-updater will fail.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jacques Morel - 19/May/07 05:51 PM
Embarrassing to say the least...