Project

General

Profile

Actions

Defect #1903

closed

Bulk actions ignore filtering by date

Added by Petr Fišer almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Bulk operations
Target version:
Start date:
10/15/2019
Due date:
% Done:

100%

Estimated time:
Affected versions:

Description

When deleting entity events, time ranges do not work.
I have IdM with ~1.5M entity events. 916687 are "executed", others are "created". I tried to delete executed events between two dates (see del01.png), there are 240778 events satisfying this condition.
The EntityEventDeleteBulk LRT tried to delete all 916687 executed events (see del02.png). This probably means that filter for the date range does not work properly.

IdM version 9.7.4 but tried to simulate on other project (9.7.10) and also got this behavior.

@affected version 9.1.1


Files

del01.png (175 KB) del01.png Petr Fišer, 10/15/2019 02:20 PM
del02.png (88.8 KB) del02.png Petr Fišer, 10/15/2019 02:20 PM

Related issues

Related to CzechIdM - Defect #1254: Filter "date from" in provisioning log doesn't show records shortly after midnightClosedRadek Tomiška09/17/2018

Actions
Actions #1

Updated by Radek Tomiška almost 3 years ago

  • Tracker changed from Task to Defect
  • Category changed from Event to Bulk operations
  • Target version set to Rhyolite (9.7.11)
Actions #2

Updated by Radek Tomiška almost 3 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Radek Tomiška almost 3 years ago

  • Subject changed from EntityEventDeleteBulk LRT does not check time ranges to Bulk actions ignore filtering by date
  • Description updated (diff)
  • Status changed from In Progress to Needs feedback
  • Assignee changed from Radek Tomiška to Vít Švanda
  • % Done changed from 0 to 90

I fixed filtering by date in bulk actions on frontend - nested filter properties were ignored. Broken, when filter component was added - #1254.

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/dd01c87ad75045902db90b37bfaba6031c1bb345

Could you do a feedback, please?

Actions #4

Updated by Radek Tomiška almost 3 years ago

  • Related to Defect #1254: Filter "date from" in provisioning log doesn't show records shortly after midnight added
Actions #5

Updated by Vít Švanda almost 3 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 90 to 100

I did review, I used bulk operation for delete a events. I successfully deleted only events created in last two weeks. Thanks for this fix.

Actions #6

Updated by Radek Tomiška almost 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF