Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

[WIP] Corrections and Todos #325

Merged
merged 3 commits into from
Nov 12, 2013
Merged

[WIP] Corrections and Todos #325

merged 3 commits into from
Nov 12, 2013

Conversation

dantleech
Copy link
Member

Q A
Doc fix? yes
New docs? no
Applies to all
Fixed tickets #322

Did a test run of the full Creating CMS with Routing Auto tutorial, this PR will eventually fix all the bugs encountered.

@@ -1018,7 +1018,7 @@ container configuration:

<tag
name="sonata.admin"
manager-type="doctrine_phpcr"
manager_type="doctrine_phpcr"
Copy link
Member Author

Choose a reason for hiding this comment

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

@wouterj I guess the Sonata XML needs fixing - this works but the - does not.

Copy link
Member

Choose a reason for hiding this comment

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

this has nothing to do with Sonata XML. It's something which is wrong in the Symfony code while parsing the arguments for tags. I've submitted a fix for it: symfony/symfony#9489

Copy link
Member

Choose a reason for hiding this comment

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

wow, nobody ever did tags with hyphens? or they did not care to even report the problem? well, thanks for finding this.

@dantleech: i think this would merit an xml comment after the to explain the oddity, saying that the hyphen would work from symfony 2.4 on. even if it gets fixed now, it won't be fixed for already released 2.3 versions

@dantleech
Copy link
Member Author

All updated.

@dbu
Copy link
Member

dbu commented Nov 11, 2013

apart from that, agree with the corrections. just merge along if you want.

@dbu
Copy link
Member

dbu commented Nov 12, 2013

sorry, i merged another PR that fixed the doctrine command. can you please merge master into your branch and fix the conflict?

otherwise i propose to add the note about xml tag names with underscores and then merge.

dantleech added a commit that referenced this pull request Nov 12, 2013
@dantleech dantleech merged commit 94fd895 into master Nov 12, 2013
@dantleech
Copy link
Member Author

Merged! I added a note about the manager_type as otherwise the comment would be copy-pasted into peoples config (is that good or bad?). Better to merge it now however as evidently people are running into these problems.

@wouterj wouterj deleted the tutorial_corrections branch November 12, 2013 19:30
@dbu
Copy link
Member

dbu commented Nov 13, 2013

fine for me. thanks!

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.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.