Bug 779848 (SOA-2208) - ContextInstance.deleteVariable() does not delete the variable from the database
Summary: ContextInstance.deleteVariable() does not delete the variable from the database
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-2208
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: JBPM - standalone
Version: 4.3 CP02
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.3 CP05
Assignee: Len DiMaggio
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-06 17:45 UTC by Alejandro Guizar
Modified: 2011-04-20 13:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-20 13:02:29 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-2208 0 None None None Never

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


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