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

Correction of false exception message in startup check #332

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

mildabre
Copy link
Contributor

The exception message states the lowest possible presenter class where method beforeRender is found, so the error can be here or in its parents not descendants !!

  • bug fix
  • BC break - no
  • doc PR: ---

dg and others added 21 commits May 13, 2024 11:15
- inteface Nette\Application\IRouter replaced by Nette\Routing\Router
…e() for persistent parameters. [Closes nette/nette#703][Closes nette/nette#703][Closes nette#69]" (possible BC break)

This reverts commit cda17f4.

See https://forum.nette.org/cs/35528-stejne-pojmenovany-parametr-akce-presenteru-a-persistentni-odlisne-chovani-v-nette-2-0-oproti-aktualnimu#p221742

BC break: Property must be nullable, ie: #[Persistent] public ?int $foo
…rs dynamically [WIP]

does not work when scanDirs is disabled
The exception message states the lowest possible presenter class where method beforeRender is found, so the error can be here or in its parents not descendants !!
@dg
Copy link
Member

dg commented May 29, 2024

It should probably say "ancestor"

@mildabre
Copy link
Contributor Author

mildabre commented Jun 3, 2024

Yes, I agree, "ancestor" is good solution

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

2 participants