
|
If you were logged in you would be able to see more operations.
|
|
|
xplanner
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
|
|
| JDK version and platform: |
JDK 5 for Windows
|
| Database: |
MySQL 5.0.37
|
| Application server: |
Tomcat
|
| Patch attached: |
Yes
|
|
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.
|
|
Description
|
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. |
Show » |
|