You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2007/03/07 22:37:24 UTC

[jira] Closed: (OFBIZ-768) Assigned tasks not shown in WorkEffort/TaskList (not anymore)

     [ https://issues.apache.org/jira/browse/OFBIZ-768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-768.
---------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk
         Assignee: Jacques Le Roux

Eriks,

Your patch is in OFBiz rev. 515777

Thanks

> Assigned tasks not shown in WorkEffort/TaskList (not anymore)
> -------------------------------------------------------------
>
>                 Key: OFBIZ-768
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-768
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: workeffort
>            Reporter: Eriks Dobelis
>         Assigned To: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: workefftasks.diff
>
>
> In WorkEffort/TaskList assigned tasks are not shown. This is due to code in WorkEffortServices.java, which assigns value to validWorkEfforts twice instead of merging the lists. This is in turn due to change submitted in r510412
> Code from WorkEffortServices.java
>                 validWorkEfforts = delegator.findByAnd("WorkEffortAndPartyAssign",
>                             UtilMisc.toList(new EntityExpr("partyId", EntityOperator.EQUALS, userLogin.get("partyId")),
>                                 new EntityExpr("workEffortTypeId", EntityOperator.EQUALS, "TASK"),
>                                 new EntityExpr("currentStatusId", EntityOperator.NOT_EQUAL, "CAL_DECLINED"),
>                                 new EntityExpr("currentStatusId", EntityOperator.NOT_EQUAL, "CAL_DELEGATED"),
>                                 new EntityExpr("currentStatusId", EntityOperator.NOT_EQUAL, "CAL_COMPLETED"),
>                                 new EntityExpr("currentStatusId", EntityOperator.NOT_EQUAL, "CAL_CANCELLED")),
>                             UtilMisc.toList("priority"));
>                 validWorkEfforts = delegator.findByAnd("WorkEffortAndPartyAssign",
>                         UtilMisc.toList(new EntityExpr("partyId", EntityOperator.EQUALS, userLogin.get("partyId")),
>                             new EntityExpr("workEffortTypeId", EntityOperator.EQUALS, "PROD_ORDER_TASK"),
>                             new EntityExpr("currentStatusId", EntityOperator.NOT_EQUAL, "PRUN_CANCELLED "),
>                             new EntityExpr("currentStatusId", EntityOperator.NOT_EQUAL, "PRUN_COMPLETED"),
>                             new EntityExpr("currentStatusId", EntityOperator.NOT_EQUAL, "PRUN_CLOSED")),
>                         UtilMisc.toList("createdDate DESC"));

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.