Comments (7)
@adeanzan Thanks for the report, I'll have a look at this issue
from auditor.
@DamienHarper - Sure thing, I'll work on getting something together!
from auditor.
@DamienHarper - I've created a fork of the demo application that reproduces the problem: https://github.com/adeanzan/auditor-bundle-demo/tree/auditor-issue-101
- Check out the above repository
- Switch to branch
auditor-issue-101
composer install
and./reload.sh
- View the Audit logs for "Author"
Expected: The most recent Author entry doesn't have a change for updatedAt
since it's supposed to be ignored
Actual: updatedAt
field appears in the audit log
If I copy the updatedAt
property and accessors into Author.php
then the ignore works like I expect it to.
Relevant Files:
- https://github.com/adeanzan/auditor-bundle-demo/blob/auditor-issue-101/src/Entity/BaseAuthor.php#L19
- https://github.com/adeanzan/auditor-bundle-demo/blob/auditor-issue-101/src/Entity/Author.php
- https://github.com/adeanzan/auditor-bundle-demo/blob/auditor-issue-101/src/DataFixtures/AppFixtures.php#L220
Thanks for looking into it!
from auditor.
@DamienHarper Thank you for the fix!
from auditor.
@adeanzan Would you mind sharing a working example that reproduce the issue please?
That would speed up the fix.
from auditor.
@adeanzan could you please test PR #107
from auditor.
@adeanzan I finally merged #107 which fixes the issue. Feel free to re-open if needed.
Anyway, thanks for the fork, it helped ;)
from auditor.
Related Issues (20)
- Make DoctrineODM / MongoDB compatible?
- Custom columns and custom data in the audit tables
- Example use statement shown for Auditing Configuration in Docs Undefined HOT 1
- Correct timezone on Created_At field HOT 1
- You have requested a non-existent parameter "dh_auditor.provider.doctrine.configuration". HOT 4
- Invalid audit table name with schema
- Inject the entity in the UserProvider HOT 1
- `ignored_columns` as a callback or as a service
- Route name on transaction
- Wrong migration when using Postgres HOT 4
- DoctrineSubscriber throw deprecation when Driver is wrapped with another class HOT 11
- Nested LoggerChain DoctrineSubscriber HOT 3
- Multiple Logs Updates with Decimal values HOT 1
- Mass import generate same hash for all operations
- ORM 3 HOT 1
- Invalid table name on Postgresql
- Update SimpleFilter value type to accept int
- Importing Audit data from another system
- Remove the final keyword for some classes?
- No routes after updating to Symfony 6.4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auditor.