Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Conversation

dbu
Copy link
Member

@dbu dbu commented Oct 13, 2014

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? no
Fixed tickets #209
License MIT
Doc PR

sonata doctrine phpcr admin did not properly handle relations in show mode. but additionally, this admin was trying to confuse the show mapper.

this change will only help together with
sonata-project/SonataDoctrinePhpcrAdminBundle#307 - but we can merge, things won't get worse than before.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the content of the menu is a reference, not "text". this was the reason the problem was only detected in twig. when letting sonata figure out what field this is, it properly reports that we either need a __toString method or specify the associated_property.

dbu added a commit that referenced this pull request Oct 20, 2014
@dbu dbu merged commit 473033d into master Oct 20, 2014
@dbu dbu deleted the fix-sonata-admin-menu-content-show branch October 20, 2014 20:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants