on ‎2018 Jun 14 1:29 PM
For example, products are being audited even if audit.product.enabled=false. Workaround is completely disabling the audit framework by auditing.enabled=false (or else DB size grows ~3Gb/day).
There's a JIRA https://jira.hybris.com/browse/ECP-2651 that has been marked as resolved, but the fix version is a mysterious 1808. The issue affects Hybris 6.6+ (including the latest 6.7.0.2). Any hints on when we will be able to start using audit system?
I'm attaching also an integration test that clearly reproduces the issue: AuditEnablementServiceBugTest.java
Request clarification before answering.
Hi Arvids,
1808 stands for next release. As for the backport there are open Jira task: https://jira.hybris.com/browse/PATCH-4497 for 6.6
https://jira.hybris.com/browse/PATCH-4528 for 6.7
but as you can see in the changes history the Fix version is not set in stone.
Hope this helps and Best regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arvidis,
For a workaround your team can implement the WriteAuditGateway and this offers a method to remove the entries. It's not ideal.
writeAuditGateway.removeAuditRecordsForType("User", userService.getUserForUID("someUser").getPk());
Reference: Generic Audit.
Regards,
Luke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.