Bug 779625 - 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: None
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: JBPM - within SOA, JBPM - standalone
Version: 5.0.0 GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.0.2
Assignee: Alejandro Guizar
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-17 09:53 UTC by Martin Weiler
Modified: 2012-07-13 04:18 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: SOA-1995
Environment:
Last Closed: 2010-05-31 09:32:11 UTC
Type: Bug


Attachments (Terms of Use)


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

Description Martin Weiler 2010-03-17 09:53:05 UTC
++ This bug is a clone of bug 779624 ++

Date of First Response: 2010-05-18 12:49:33
Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/610413
project_key: SOA

Platform issue for JBPM-2828

Comment 1 Alejandro Guizar 2010-05-18 16:49:33 UTC
Linking project issue.

Comment 2 Alejandro Guizar 2010-05-18 16:49:33 UTC
Link: Added: This issue depends JBPM-2828


Comment 3 Alejandro Guizar 2010-05-18 17:25:10 UTC
Link: Added: This issue is related to SOA-1956


Comment 4 Alejandro Guizar 2010-05-28 04:18:44 UTC
Resolving since project issue JBPM-2828 and related issue SOA-1956 are both resolved already. Set the same fix version as SOA-1956, 5.0.2. If you reopen, please reassign appropriately.

Comment 5 Jiri Pechanec 2010-05-31 09:32:11 UTC
Verified in CR1

Comment 6 Dana Mison 2010-06-08 03:58:03 UTC
More info needed for 5.0.2 release notes:  are the following statements true, and what should ??? be below

ContextInstance.deleteVariable(name) did not actually delete variables from the database, the  
VariableContainer.deleteVariable() method instead removed references to the process execution. 
This could lead to orphaned records in the database.

??? 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 it is removed when the 
process instance is deleted.



Comment 8 Dana Mison 2010-06-22 00:48:38 UTC
Added to SOA 5.1 Release Notes as resolved:

JBPM-2828
ContextInstance.deleteVariable(name) was not actually deleting variables from the database, and instead only
removed references to the process execution. This could lead to orphaned records in the database.  This method
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 it is removed when the
process instance is deleted. 

Comment 9 Alejandro Guizar 2010-08-06 17:46:27 UTC
Link: Added: This issue is duplicated by SOA-2208



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