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

Link to this in error presenter doesn't work when there is no route with <presenter> param #97

Open
janedbal opened this issue Oct 7, 2015 · 2 comments
Milestone

Comments

@janedbal
Copy link

janedbal commented Oct 7, 2015

If I do not have any route with <presenter> parameter and use ->link(this) or just some UI\Form in Error presenter I get an error in log PHP User Warning: Invalid link: No route for Error:default() (in production mode only). This was previously reported in forum.

Is there any way to fix this? The only way seems to have route for Error presenter (but still, link to this doesn't point to current URL).

@JanTvrdik
Copy link
Contributor

That is a feature. You cannot rely on an identical error to occur every time you visit the broken URL.

@JanTvrdik
Copy link
Contributor

To make it clear – you need to set form action to a "stable URL"

@dg dg added this to the v3.0 milestone May 29, 2018
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

No branches or pull requests

3 participants