Skip to content

Mass import generate same hash for all operations #192

@micter59

Description

@micter59
Q A
auditor version 5.2.5
PHP version 8.2.11
Database MySQL

Summary

I'm working on a project where i have to import old data from an other app.
In the use of the app, I've no problem with the audits, when adding / editing / deleting something.
The import it-self is also ok.
But after the import, I realize that all audits entries have same transaction hash.

Current behavior

I've tried to import data with a "Fixture", and also with a "Command".
Both ways have the same behaviour : all audits entries have the same hash.
As I display audits by hash (to get all linked entities), it's a problem for me.
I should add that I've put a "flush" command after each creation of data.

How to reproduce

Just do an import of a lot of data.

Expected behavior

I would expect every operation has its own transaction hash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions