[CDO] ClassCastException in CDODeltaNotification for Enum-based attribute [message #1464447] |
Fri, 07 November 2014 10:13  |
Eclipse User |
|
|
|
Hi,
Assume I have 2 clients (A and B) connected to a repository (MemStore).
A commits a change on attribute named "state" that is an Enum.
B receives a CDODeltaNotificationImpl with the change made on the attribute named "state". But there is a bug here, indeed both calling getOldObject / getNewObject returns an Integer instead of the Enum, I suppose it is due to the fact the Enum is transported over the networlk as integer.
Thus if I cast the result of getOldObject or getNewObject in the expected Enum, I get a ClassCastException.
I'm using CDO 4.3 release with Luna (Shipped in last June).
Should I file a bugzilla ?
Stéphane.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04214 seconds