Bug 1012419

Summary: New Task modal freezes when tere is no user/group filled in
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jan Hrcek <jhrcek>
Component: Business CentralAssignee: Mauricio Salatino <msalatin>
Status: CLOSED CURRENTRELEASE QA Contact: Zuzana Krejčová <zkrejcov>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0.0CC: kverlaen, lpetrovi, rzhang
Target Milestone: ER6   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:12:43 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:
Embargoed:
Attachments:
Description Flags
Steps to reproduce
none
warning added, create button still enabled none

Description Jan Hrcek 2013-09-26 12:45:48 UTC
Created attachment 803385 [details]
Steps to reproduce

Description of problem:
The modal dialog for creating New Task directly in task list freezes (it's 'Create' button is disabled and never reenabled) when you don't fill in any user/group.

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

How reproducible:
Always

Steps to Reproduce:
1. Navigate to Task > Task List
2. Click New Task button
3. Now either
   a) click the 'minus' button next to the prefilled User field
   b) erase the User input field
4. Click 'Create' button

Actual results:
The create button is disabled and the form doesn't display any message to indicate what happened.

Expected results:
Some input validation should be present similar to validation for Task name - e.g. message like 'You must add at leas one user/group' should be displayed near the buttons for adding user/group.

Additional info:
Video of steps to reproduce attached. Notice how the 'Create' button is disabled after clicked.

Comment 1 Mauricio Salatino 2013-09-26 14:05:07 UTC
This was already fixed in master and in 6.0.x.

Comment 2 Jan Hrcek 2013-10-16 12:38:53 UTC
Unfortunately it is not fixed - the problem is still there. The new task modal dialog still behaves as described and as shown in the video attached in the initial description.

Failed QA with BPMS 6.0.0 ER4

Comment 3 Mauricio Salatino 2013-11-20 17:33:04 UTC
Fixed in 6.0.x http://github.com/droolsjbpm/jbpm-console-ng/commit/d5854682f and in master

Comment 4 Mauricio Salatino 2013-11-20 17:33:46 UTC
Created attachment 826765 [details]
warning added, create button still enabled

Comment 5 Jan Hrcek 2014-01-03 08:32:22 UTC
Ok, verified with BPMS 6.0.0 ER6