Bug 1034258 - A human task cannot be performed in Tasks list
Summary: A human task cannot be performed in Tasks list
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ER1
: 6.0.1
Assignee: Mauricio Salatino
QA Contact: Ivo Bek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-25 14:02 UTC by Ivo Bek
Modified: 2014-11-12 14:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
BPMS ER5.
Last Closed: 2014-08-06 20:03:24 UTC
Type: Bug


Attachments (Terms of Use)
The start task REST response (16.05 KB, text/plain)
2013-11-25 14:10 UTC, Ivo Bek
no flags Details

Description Ivo Bek 2013-11-25 14:02:16 UTC
Description of problem:

I have a reserved task in Tasks list but I'm not able to start it. The Start button doesn't do anything after a click. Server log says nothing.

How reproducible:


Steps to Reproduce:
1. Start a process containing a human task
2. In Business central switch to Tasks list view
3. Use workaround, described here BZ 1034242, to show the reserved task
4. Click on the start button
5. See nothing happens

Comment 1 Ivo Bek 2013-11-25 14:04:51 UTC
I also tried the Start button in the task details but it didn't help either.

Comment 2 Ivo Bek 2013-11-25 14:10:02 UTC
Created attachment 828688 [details]
The start task REST response

I attached a response from a REST request to start the task.

Comment 3 Mauricio Salatino 2013-11-25 20:28:26 UTC
Hi Ivo, 
can you please confirm that you are not using the admin user? You shouldn't test with that, please use another user and let me know if it continue failing. 
I will not start working on this or the other bug if the problem is that the test were done with the admin user.

Comment 4 Marek Baluch 2013-11-26 07:21:56 UTC
Hi Mauricio,

would mind explaining why exactly should the 'admin' user not be user for these actions? I'd say that the 'admin' user is a user like any other if he has the proper roles assigned.

Thanks!
@mb

Comment 5 Marek Baluch 2013-11-26 08:45:28 UTC
If the reason is the database table design then we can document it if not already documented.

Comment 6 Ivo Bek 2013-11-26 09:00:37 UTC
Hi Mauricio,

you're right. After I changed the user, human tasks work, so the problem is just for the admin.

Comment 7 Mauricio Salatino 2013-11-26 09:06:31 UTC
Hi Marek, as you mention the issue is that all the Task UI is ready to deal with standard users and admin is a special kind of user. You should avoid testing tasks and processes with that user that in theory is supposed to do another kind of global things and configurations. This should be already documented, because we had closed issues about two or more months ago of people doing the same tests and finding the same errors.

Comment 8 Mauricio Salatino 2013-11-26 09:07:59 UTC
I will mark this issue as modified, due Ivo has confirmed that the issue is not longer there if he tried with a regular user.

Comment 9 Kris Verlaenen 2013-11-26 13:48:00 UTC
Mauricio, I wouldn't set this to modified, as the original issue is still there, I lowered the priority to medium, though, as it only seems to occur for admin users.

Comment 10 Ivo Bek 2014-01-14 13:57:45 UTC
If it's not documented, we should put there that a user should not use "admin" as a username. Otherwise the user will have issues like this BZ 1034258, BZ 1034242, and BZ 1034608.

Comment 11 Mauricio Salatino 2014-01-27 14:57:57 UTC
Can you please close this issue or mark related with: https://bugzilla.redhat.com/show_bug.cgi?id=1054309 which is the real issue.

Comment 12 Ivo Bek 2014-01-29 08:58:17 UTC
Mauricio, I do not think this issue relates to bug 1054309 and it should not be closed. Here the task is assigned to the same user "admin" and the main problem here is that the user "admin" has role "admin" as was mentioned above. The another difference is that in this bug it is not possible to start a process and in the second bug the task list does not show all tasks for a user with role "admin". If you still think they relate to each other, connect them.

Comment 14 Lukáš Petrovický 2014-02-07 16:19:08 UTC
This no longer has a target release of 6.0.0.

Comment 15 Ivo Bek 2014-02-20 12:16:11 UTC
Verified in BPMS 6.0.1.ER1

I assume it is expected to show the error dialog containing:

Unexpected error encountered : java.lang.RuntimeException:Organizational entity already exists with [GroupImpl:'admin'] id, please check that there is no group and user with same id

Comment 16 Ivo Bek 2014-03-18 12:58:00 UTC
Test that a user is notified about using a username which is equal to a group (e.g. admin/admin).


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