Bug 779848 (SOA-2208)

Summary: ContextInstance.deleteVariable() does not delete the variable from the database
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Alejandro Guizar <alex.guizar>
Component: JBPM - standaloneAssignee: Len DiMaggio <ldimaggi>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.3 CP02CC: jpechane
Target Milestone: ---   
Target Release: 4.3 CP05   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-2208
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-20 13:02:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Alejandro Guizar 2010-08-06 17:45:41 UTC
Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/610413
project_key: SOA

Clone of SOA-1995 for SOA 4.x

Comment 1 Alejandro Guizar 2010-08-06 17:46:27 UTC
Link: Added: This issue duplicates SOA-1995


Comment 2 Alejandro Guizar 2010-08-06 17:49:30 UTC
Link: Added: This issue incorporates JBPM-2828


Comment 3 nwallace 2011-03-17 15:41:01 UTC
JBPM-2828 is in the jbpm 3.2.10 tag.

Comment 4 David Le Sage 2011-03-21 01:11:57 UTC
Release Notes Docs Status: Added: Not Yet Documented
Writer: Added: dlesage


Comment 5 David Le Sage 2011-04-01 03:16:26 UTC
Release Notes Docs Status: Removed: Not Yet Documented Added: Documented as Resolved Issue
Release Notes Text: Added: https://issues.jboss.org/browse/SOA-2208

The ContextInstance.deleteVariable(name) method was not actually deleting variables from the database. Rather, it only removed references to the process execution. This could lead to database records being orphaned records. The method has been fixed so that it now removes the variables from the database if the logging service is disabled. If logging is enabled, the new VariableDeleteLog holds a reference to the variable and this reference is removed when the process instance is deleted. 


Comment 6 Jiri Pechanec 2011-04-20 09:47:05 UTC
Verified in ER2