DamienHarper/auditor-bundle

Seeing all relations from one entity

Lehren opened this issue · 1 comments

Is there a way to view all relations of an entity? When they get inserted initially they should have a null relation. But the whole field does not show up in diffs table. It's only when it's on association or disassociation, and even then, I am still missing some info like what the entity actually is. I'd have to get entity A first, see that entity B is associated to it, get entity B, and view the contents of entity B there.

I'd like entity A to just contain entity B fully in the logs, and reverse as well. So far this is not working on One-to-Many relations, or One-to-One. Maybe I'm missing some config options.

@Lehren Thanks for the report. Currently, auditor gets all data/information from Doctrine's UoW and the way UoW's changesets are built, they do not include non set relationship fields. I have some plan to add that kind of information later this year but no ETA though.