Bug 772971 - Whitespaces in task name causes problems viewing task form
Summary: Whitespaces in task name causes problems viewing task form
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: jBPM 5
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: BRMS 5.3.0.GA
Assignee: Kris Verlaenen
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-10 15:06 UTC by Jeff DeLong
Modified: 2021-04-09 12:49 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---


Attachments (Terms of Use)

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.


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