Bug 772971

Summary: Whitespaces in task name causes problems viewing task form
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jeff DeLong <jdelong>
Component: jBPM 5Assignee: Kris Verlaenen <kverlaen>
Status: VERIFIED --- QA Contact: Lukáš Petrovický <lpetrovi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GACC: lpetrovi
Target Milestone: ---   
Target Release: BRMS 5.3.0.GA   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jeff DeLong 2012-01-10 15:06:16 UTC
Description of problem:

Whitespaces in task name causes problems viewing task form. The issue seems to be with Guvnor actually as it replaces spaces in file names with "+" so for example if you had a "my task name" TaskName in a process in the defaultPackage the file name generated by Guvnor would be for example:

http://localhost:8080/jboss-brms/rest/packages/defaultPackage/assets/my+task+name-taskform/source 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.Create a process definition with a User Task
2.For the task name property pick a value with a space, e.g., my task name
3.Generate the task forms.
4.Try to view the task form
  
Actual results:

Error opening form.

Expected results:

Be able to view the source for the form

Additional info:

Comment 1 Tihomir Surdilovic 2012-01-10 15:26:26 UTC
This was a Guvnor issue (not decoding asset names when creating new assets via its REST api). Fix checked into the Guvnor 5.3.x branch, should be picked up by next ER build.

Comment 2 Zuzana Krejčová 2012-04-18 09:48:33 UTC
Tried it with a "my task" as a task name, the task form can be opened and viewed.