[
http://jira.nuxeo.org/browse/NXP-1706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florent Guillaume reopened NXP-1706:
------------------------------------
Assignee: Radu Darlea (was: Solen Guitter)
Reopened due to the following report on the list, please check.
-----
I noticed two problems with the task list implementation of the dashboard in
5.1.4.
Lets assume we have a workflow with one document and with two tasks, task 1 and
task 2.
Problem 1: If task 1 is complete and task 2 is created the dashboard lists task
1 instead of 2.
Reason: computeDashboardItems() only checks if the user has an action in the
process instance. hasParticipantImmediateAction will therefore return true if
task 1 is ended and task 2 is open. Therefore task 1 is added to the dashboard.
hasParticipantImmediateAction returns true for task 2, too, but task 2 is not
added because the document is already in the dashboardItems.
Solution: Check if the workItem already has ended: If yes, continue.
(Alternative: modify hasParticipantImmediateAction to have the workItem instead
of the pi as a parameter).
Problem 2: If a user has two parallel active tasks for one document in one
workflow, only one will be shown.
Reason: Same as above. Both tasks will have the same docRef.
Solution: Unfortunately not the same as above ;)
It seems that both problems were introduced by NXP-1706.
> [Publishing] Pending documents are displayed twice in Administrator's
> dashboard
> -------------------------------------------------------------------------------
>
> Key: NXP-1706
> URL: http://jira.nuxeo.org/browse/NXP-1706
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Affects Versions: 5.1.2
> Reporter: Solen Guitter
> Assignee: Radu Darlea
> Fix For: 5.1.5
>
> Attachments: Image 2.png
>
>
> The document that have been submitted to publishing are displayed twice in
> the "My tasks" table of the Administrator.
> In the dashboard of user's that have Manage rights in sections, it's
> displayed once.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets