Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1070578

Summary: EWS: when configured with DefaultUserGroupInfoProducer, can't create new task in task list
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jan Hrcek <jhrcek>
Component: jBPM CoreAssignee: Maciej Swiderski <mswiders>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Hrcek <jhrcek>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0.1CC: kverlaen, rrajasek
Target Milestone: ER2   
Target Release: 6.0.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
EWS - tomcat 7
Last Closed: 2014-08-06 20:03:40 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:

Description Jan Hrcek 2014-02-27 06:50:04 UTC
Description of problem:
When you deploy business central on EWS and you leave it configured with DefaultUserGroupInfoProducer, it is impossible to create a new task, irregardless of which user is logged in. When you click 'New task' > fill in task details > Create, you get:

Unexpected error encountered : org.jbpm.services.task.exception.CannotAddTaskException:There are no known Business Administrators, task cannot be created according to WS-HT specification

We suspect it might be because of typo in 
jboss-ews-2.0/tomcat7/webapps/business-central/WEB-INF/classes/org/jbpm/services/task/identity/UserGroupsAssignmentsOne.mvel

in which there is (notice the missing 's'):
 new Group( "Adminitrators" )

When the missing 's' is added, then we are able to create a task.

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

Comment 1 Maciej Swiderski 2014-02-27 13:31:26 UTC
this has been already fixed by this commit:

kie-wb-distributions
6.0.x:
https://github.com/droolsjbpm/kie-wb-distributions/commit/3cd61851f491453385fdea55ab7c0fe7a923c5e4

Comment 2 Jan Hrcek 2014-03-11 07:15:40 UTC
Ok, fixed in BPMS 6.0.1 ER2