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

[NodeBundle] Removed fallback logic for simple route loaders #630

Merged
merged 1 commit into from
Aug 20, 2015

Conversation

jockri
Copy link
Contributor

@jockri jockri commented Aug 13, 2015

Q A
Bug fix? no
New feature? no
BC breaks? yes
Deprecations? no
Fixed tickets

With these changes, it is not possible anymore to use custom route loaders (LoaderInterface) for defining extra routes that are handled via the controller of a Page. You should use a custom router (RouterInterface) instead. This is a BC break!

Example use case:

  • /video -> VideoOverviewPage with custom controller
  • /video/123 -> no page linked tot this url, a custom defined route (/{url}/{videoid}) that is also using the controller of the VideoOverviewPage

(as discussed with @kimausloos and @wimvds)

@roderik
Copy link
Contributor

roderik commented Aug 18, 2015

@jockri if it's a bc break, you need a mention in the upgrade file

@jockri jockri force-pushed the remove-routeloader-fallbacks branch from a133218 to 92ce047 Compare August 20, 2015 07:41
@jockri
Copy link
Contributor Author

jockri commented Aug 20, 2015

@roderik documentation added

roderik pushed a commit that referenced this pull request Aug 20, 2015
[NodeBundle] Removed fallback logic for simple route loaders
@roderik roderik merged commit 08bf01b into Kunstmaan:master Aug 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants