You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Deepak Dixit (JIRA)" <ji...@apache.org> on 2019/04/08 18:07:00 UTC

[jira] [Comment Edited] (OFBIZ-10914) Fitering on StatusId in FindTask does not work

    [ https://issues.apache.org/jira/browse/OFBIZ-10914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16812670#comment-16812670 ] 

Deepak Dixit edited comment on OFBIZ-10914 at 4/8/19 6:06 PM:
--------------------------------------------------------------

My bad, 
This issue due to getProjectTask service (call as row-action ListTasks form), this service call the simple method "combineStatusInfo" that manipulate the currentStatusId field. 
combineStatusInfo check if WEPA record exists for TASK it overrides the currentStatusId and set it to "PTS_CREATED_AS"

Here is the patch to fix this issue. 


was (Author: deepak.dixit):
My bad, This issue id due to getProjectTask service, this service call the simple method "combineStatusInfo" that manipulate the currentStatusId fields. 
combineStatusInfo check if WEPA record exists for TASK it overrides the currentStatusId and set it to "PTS_CREATED_AS"

Here is the patch to fix this issue. 

> Fitering on StatusId in FindTask does not work
> ----------------------------------------------
>
>                 Key: OFBIZ-10914
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10914
>             Project: OFBiz
>          Issue Type: Bug
>          Components: projectmgr
>    Affects Versions: Trunk, Release Branch 16.11, Release Branch 17.12, Release Branch 18.12
>            Reporter: Pierre Smits
>            Priority: Major
>
> Filtering on one of the available status options (statusId) does not yield the expected result. 
> To reproduce:
>  # go to [https://demo-stable.ofbiz.apache.org/projectmgr/control/FindTask]
>  # select one of the status options, e.g. Created
>  # see appropriate list of tasks
> Actual result (with selected status option Created):
> Overview shows tasks with statusId = Created PLUS the tasks with status In Progress



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)