Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mass import generate same hash for all operations #192

Open
micter59 opened this issue Jan 21, 2024 · 0 comments
Open

Mass import generate same hash for all operations #192

micter59 opened this issue Jan 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@micter59
Copy link

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.

@micter59 micter59 added the bug Something isn't working label Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant