Bug 748752 - Traits are not serializable
Summary: Traits are not serializable
Keywords:
Status: ASSIGNED
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRE (Expert, Fusion)
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Mark Proctor
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-25 09:32 UTC by Tomas Schlosser
Modified: 2022-05-31 22:28 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Tomas Schlosser 2011-10-25 09:32:10 UTC
Description of problem:
If you use traits with persisted sessions you get NotSerializableException.

Version-Release number of selected component (if applicable):
BRMS-5.3.0.dev4

How reproducible:
Every time

Steps to Reproduce:
1. Create persisted session
2. Insert fact that is used to create trait
  
Actual results:
java.io.NotSerializableException: org.drools.factmodel.traits.ThingorgjbossqadroolsdomainPersonWrapperProxy

Expected results:
Persisted trait and clean rules execution.

Additional info:

Comment 2 Mark Proctor 2012-01-19 01:21:28 UTC
I don't think traits are being productized at the moment. We can double check with prakash. I suggest we document them as an experimental feature for the product.

Comment 3 Ryan Zhang 2012-04-23 07:40:23 UTC
Update status to ON_QA. Please verify them against ER6.

Comment 5 Lukáš Petrovický 2012-05-02 10:32:31 UTC
This wasn't fixed in 5.3.

Comment 6 lcarlon 2012-05-02 23:43:24 UTC
I've added a note to the release notes for BRMS 5.3 that states traits is an experimental feature.


Note You need to log in before you can comment on or make changes to this bug.