Bug #25609

Router should skip routes if the target controller does not exist

Added by Bastian Waidelich over 4 years ago. Updated over 4 years ago.

Status:Resolved Start date:2011-04-01
Priority:Should have Due date:
Assigned To:Bastian Waidelich % Done:

100%

Category:MVC - Routing
Target version:-
PHP Version: Complexity:
Has patch: Affected Flow version:

Description

The Router should check if the Controller exists. If not, the route should be skipped when resolving route values.
Furthermore, if no route matches, an exception should be thrown.

Associated revisions

Revision 894d3b26
Added by Bastian Waidelich over 4 years ago

[BUGFIX] Router skips routes if the target controller does not exist

The Router now checks if the target controller exists. If not, the route
is skipped when resolving route values.

Furthermore, if no route matches, an exception is thrown.

Thanks to Snowflake for sponsoring 260 beers during the bug auction on
T3BOARD11!

Change-Id: I3bdff3dcd4384af088f3859d5640ad07d33a732d
Fixes: #25609

History

#1 Updated by Mr. Hudson over 4 years ago

Patch set 1 of change I3bdff3dcd4384af088f3859d5640ad07d33a732d has been pushed to the review server.
It is available at http://review.typo3.org/1387

#2 Updated by Mr. Hudson over 4 years ago

Patch set 2 of change I3bdff3dcd4384af088f3859d5640ad07d33a732d has been pushed to the review server.
It is available at http://review.typo3.org/1387

#3 Updated by Mr. Hudson over 4 years ago

Patch set 3 of change I3bdff3dcd4384af088f3859d5640ad07d33a732d has been pushed to the review server.
It is available at http://review.typo3.org/1387

#4 Updated by Mr. Hudson over 4 years ago

Patch set 4 of change I3bdff3dcd4384af088f3859d5640ad07d33a732d has been pushed to the review server.
It is available at http://review.typo3.org/1387

#5 Updated by Mr. Hudson over 4 years ago

Patch set 5 of change I3bdff3dcd4384af088f3859d5640ad07d33a732d has been pushed to the review server.
It is available at http://review.typo3.org/1387

#6 Updated by Mr. Hudson over 4 years ago

Patch set 6 of change I3bdff3dcd4384af088f3859d5640ad07d33a732d has been pushed to the review server.
It is available at http://review.typo3.org/1387

#7 Updated by Mr. Hudson over 4 years ago

Patch set 7 of change I3bdff3dcd4384af088f3859d5640ad07d33a732d has been pushed to the review server.
It is available at http://review.typo3.org/1387

#8 Updated by Bastian Waidelich over 4 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF