Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.2.2
-
Fix Version/s: 1.3.1
-
Component/s: Converters
-
Labels:None
Description
According to the api for CGLIBEnhancedConverter, this converter can only be used if "only one CAllback is registered". The code to check this condition is actually incorrect:
line 84:
if (callbacks.length > 1) {
it should be:
if (Arrays.asList(callbacks).size() > 1){
This makes the code break with Hibernate proxies, even though it shouldn't.
Issue Links
Activity
Jörg Schaible
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Incomplete [ 4 ] |
Jörg Schaible
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Jörg Schaible
made changes -
| Resolution | Incomplete [ 4 ] | |
| Assignee | Joerg Schaible [ joehni ] | |
| Status | Closed [ 6 ] | Reopened [ 4 ] |
Jörg Schaible
made changes -
Jerry Shea
made changes -
| Attachment | XSTR-423.patch [ 37663 ] |
Jörg Schaible
made changes -
Jörg Schaible
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Fix Version/s | 1.3.1 [ 14744 ] |
Jerry Shea
made changes -
| Attachment | 423.patch [ 43611 ] |
Jörg Schaible
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Sorry, but I don't see a difference. Why should the first condition break Hibernate proxies ?