Hide Forgot
Description of problem: When you insert fact into session and then create a new one, the inserted fact is not available in the newly created session. Version-Release number of selected component (if applicable): Windows Server 2003 BRMS-5.2.0-ER5 How reproducible: - most of the time - only on W2k3 Steps to Reproduce: 1. created persisted session 2. insert fact into session 3. load the session Actual results: session.getObject.size() returns 0 Expected results: session.getObject.size() returns 1 and contains the inserted fact Additional info: This bug is hardly reproducible, I haven't find exact configuration to include proper test case.
Tomas, need clarification on this one: are you persisting the session before or after inserting a fact into it?
I use JPAKnowledgeService to create the persisted sessions. Transactions are handled by Drools as well so I guess the session is persisted upon creation and automatically after inserting the fact. As said before it only happens on W2k3 server (the tests run on variety of systems and W2k8 server does not have the same problem) and is still present in BRMS 5.3.0 ER3
Tomas, I just pushed a load of fixes to the serialization framework. Unfortunately I don't have access to any W2k3 machine. Can you please check if the problem still happens? FYI, the last commit that fixes the serialization issues is this: https://github.com/droolsjbpm/drools/commit/6f80adb3b5395eeac3e37f2840d988924a8fe299 Any build after that commit should work.
BRMS-5.3.0.ER5 still has this issue, I'll get back to it once ER6 is built.
Update status to ON_QA. Please verify them against ER6.
Unfortunately, this is still an issue in ER6.