Project

General

Profile

Actions

Task #979

closed

Remove audit from modified attribute

Added by Ondřej Kopr almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ondřej Kopr
Category:
Audit
Target version:
Start date:
02/21/2018
Due date:
% Done:

100%

Estimated time:
Owner:

Description

Is possible remove audit from modified attribute (abstract entity).

Actions #1

Updated by Ondřej Kopr almost 7 years ago

  • Status changed from New to Needs feedback
  • Assignee changed from Ondřej Kopr to Radek Tomiška
  • % Done changed from 0 to 90

For now I only remove @Audited annotation from modified attribute in AbstractEntity, all fields in audit tables stay as it is (better for compatibility).

Now isn't filled 'modified' in audit tables (no more unnecessary audit records during only resave entity from same modifier). Modified date can be found in IdmAudit as revision timestamp (the field revision timestamp was duplicated with modified).

I also remove audit override from SysSyncConfig, this isn't neccessary

Commit: https://github.com/bcvsolutions/CzechIdMng/commit/f4502d2a3caaa8bf55521bfeb1fc27fbbc920692 (develop)

Please Radek could you check new behavior on your enviroment? Thank you

Actions #2

Updated by Radek Tomiška almost 7 years ago

  • Status changed from Needs feedback to Closed
  • Assignee changed from Radek Tomiška to Ondřej Kopr
  • % Done changed from 90 to 100

I did test and review, it's awesome and you too :)

When identity (or any other entity) is saved and any audited attribute is changed, then no audit row is created and this is really nice.

Actions

Also available in: Atom PDF