Bug 1121040

Summary: JobExecutor: callback lookup will fail if divider contains spaces.
Product: [Retired] JBoss BPMS Platform 6 Reporter: Marek Baluch <mbaluch>
Component: jBPM CoreAssignee: Maciej Swiderski <mswiders>
Status: VERIFIED --- QA Contact: Marek Baluch <mbaluch>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.0   
Target Milestone: DR2   
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Enhancement
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Marek Baluch 2014-07-18 08:47:08 UTC
*** Description of problem:
Currently the only format for the callbacks property inside the context is:
callbackClass1,callbackClass2,...,callbackClassN.

Please consider supporting also another common format which is:
callbackClass1, callbackClass2, ..., callbackClassN.

*** Additional info:
Lookup is made in ClassCacheManager#buildCommandCallback(CommandContext, ClassLoader)

Comment 1 Maciej Swiderski 2014-07-24 18:07:06 UTC
fixed by making sure the classnmes of the callback are trimmed

jbpm
master:
https://github.com/droolsjbpm/jbpm/commit/e25e29e044db74869efef52ce132511b39693c34

Comment 2 Marek Baluch 2014-09-10 08:07:09 UTC
Verified on 6.1.0.DR2