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

Allow auditing of entities with many-many relations #99

Merged
merged 2 commits into from
Dec 10, 2014

Conversation

tommygnr
Copy link
Contributor

@tommygnr tommygnr commented Dec 9, 2014

The changes made in c619a4e have made
it impossible to load the history of entities that have a many to many
relationship with another entity. I think the old approach of just
providing an empty collection and the notice in the docs is preferable
to not being able to audit the entity at all. Hence I reverted the
change that throws an exception if a many to many relationship is found

@DavidBadura
Copy link
Contributor

@andrewtch ?

@andrewtch
Copy link
Contributor

Seem fine if @tommygnr could add a test RelationTest:testManyToMany chechking this behavior and marking it as "stub until #85 is done"

The changes made in c619a4e have made
it impossible to load the history of entities that have a many to many
relationship with another entity. I think the old approach of just
providing an empty collection and the notice in the docs is preferable
to not being able to audit the entity at all. Hence I reverted the
change that throws an exception if a many to many relationship is found
@tommygnr
Copy link
Contributor Author

I have added the test

DavidBadura added a commit that referenced this pull request Dec 10, 2014
Allow auditing of entities with many-many relations
@DavidBadura DavidBadura merged commit 7dd95ca into sonata-project:master Dec 10, 2014
@tolry tolry mentioned this pull request Aug 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants