Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Update controller.rst#3304

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
weaverryan merged 1 commit intosymfony:2.3fromdczech:patch-1
Dec 19, 2013
Merged

Update controller.rst#3304

weaverryan merged 1 commit intosymfony:2.3fromdczech:patch-1
Dec 19, 2013

Conversation

dczech
Copy link
Contributor

Invalid flash example for php template leading to::

FatalErrorException: Error: Call to undefined method Symfony\Bundle\FrameworkBundle\Templating\Helper\SessionHelper::getFlashBag()

Invalid flash example for php template leading to::FatalErrorException: Error: Call to undefined method Symfony\Bundle\FrameworkBundle\Templating\Helper\SessionHelper::getFlashBag()
@bicpi
Copy link
Contributor

The removed line in your PR is the correct one in Symfony 2.3, seehttp://symfony.com/doc/2.3/components/http_foundation/sessions.html#flash-messages (and since 2.1).

@dczech
Copy link
ContributorAuthor

This is not a Session instance but SessionHelper, which doesn't share Session API see:https://github.com/symfony/FrameworkBundle/blob/2.3/Templating/Helper/SessionHelper.php

@wouterj
Copy link
Member

👍

@bicpi
Copy link
Contributor

Oh yes, I'm sorry! 😳

@dczech
Copy link
ContributorAuthor

BTW this change applies to all symfony versions

weaverryan added a commit that referenced this pull requestDec 19, 2013
@weaverryanweaverryan merged commit899b48a intosymfony:2.3Dec 19, 2013
@weaverryan
Copy link
Member

Ah yes, great find and fix - thanks very much@dczech!

@dczechdczech deleted the patch-1 branchJanuary 3, 2014 13:49
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@dczech@bicpi@wouterj@weaverryan

[8]ページ先頭

©2009-2025 Movatter.jp