/
Change log sometimes showing non-existing changes [5.2.2-B2]
Change log sometimes showing non-existing changes [5.2.2-B2]
In the - INP-1116Getting issue details... STATUS task an improvement was made to support calling "kDBItem::Update" with a limited set of fields. The use case would be restricting fields in the "UPDATE" SQL statement to avoid accidental overwrite of fields, that weren't changed right now, but were changed in parallel by another user.
When "Change Log" functionality is used, then changes not written into the database would also be written into the logs.
Solution
- improve these methods to allow specifying field limitation given to "kDBItme::Update" call:
- \kDBItem::setModifiedFlag
- \kDBItem::LogChanges
- in the "\kDBItem::LogChanges" method reduce list of changes to fields given in limitation