| Summary: | ContextInstance.deleteVariable() does not delete the variable from the database | |||
|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 4 | Reporter: | Martin Weiler <mweiler> | |
| Component: | JBPM - within SOA, JBPM - standalone | Assignee: | Alejandro Guizar <alex.guizar> | |
| Status: | CLOSED NEXTRELEASE | QA Contact: | ||
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 4.3 CP02 | |||
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| URL: | http://jira.jboss.org/jira/browse/SOA-1995 | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 779625 (view as bug list) | Environment: | ||
| Last Closed: | 2010-05-31 09:32:11 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
Martin Weiler
2010-03-17 09:53:05 UTC
Linking project issue. Link: Added: This issue depends JBPM-2828 Link: Added: This issue is related to SOA-1956 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. Verified in CR1 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. 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. Link: Added: This issue is duplicated by SOA-2208 |