Process variables of type hibernate-long-id/hibernate-string-id don't work
--------------------------------------------------------------------------
Key: JBPM-2658
URL: https://jira.jboss.org/jira/browse/JBPM-2658
Project: jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.2
Reporter: Derek Cornelius
This is the same problem as JBPM-2474.
The problem is in HibernateIdMatcher.
if (sessionFactory!=null) {
ClassMetadata classMetadata = sessionFactory.getClassMetadata(value.getClass());
matches = ( (classMetadata!=null)
&& (classMetadata.getIdentifierType().getClass()==getIdType())
);
}
value.getClass() is returning the Javassist proxy class that is not found.
It needs to check for "value.getClass().getSuperClass()" if value instance of HibernateProxy.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Custom Logging Causes Orphaned Variables
----------------------------------------
Key: JBPM-2947
URL: https://jira.jboss.org/browse/JBPM-2947
Project: jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 3.2.9
Reporter: Brad Davis
The VariableContainer currently does not delete variables if *any* logging service is configured. This should not be the default, and instead should only be the case if the Logging Service is DbLoggingService.
Code in question [VariableContainer]:
if (jbpmContext == null || jbpmContext.getServices().getLoggingService() != null) {
Attached is the patch.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira