Skip to content

Conversation

@eiresendez
Copy link
Contributor

@eiresendez eiresendez commented May 2, 2023

Issue & Reproduction Steps

The number of overdue tasks in the red alert is not consistent with the filtered data from the table.

  1. Create some tokens.
  2. Create an overdue token.
  3. Create an overdue self-service token.
  4. Filter using PMQL: due < NOW.
  5. You will notice that the number of tasks in the red alert is not the same as the data filtered by the table.

Solution

  • The number of overdue tasks is now obtained from table's filtered data to ensure consistency.
FOUR-8391.mov

How to Test

  • Please run php artisan test tests/Feature/Api/TasksTest.php --filter testGetListOfOverdueTasks and perform some manual testing.

Related Tickets & Packages

Code Review Checklist

  • I have pulled this code locally and tested it on my instance, along with any associated packages.
  • This code adheres to ProcessMaker Coding Guidelines.
  • This code includes a unit test or an E2E test that tests its functionality, or is covered by an existing test.
  • This solution fixes the bug reported in the original ticket.
  • This solution does not alter the expected output of a component in a way that would break existing Processes.
  • This solution does not implement any breaking changes that would invalidate documentation or cause existing Processes to fail.
  • This solution has been tested with enterprise packages that rely on its functionality and does not introduce bugs in those packages.
  • This code does not duplicate functionality that already exists in the framework or in ProcessMaker.
  • This ticket conforms to the PRD associated with this part of ProcessMaker.

@ryancooley ryancooley merged commit 1932456 into develop May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants