« Previous | Next » 

Revision 0863e524


Added by Bastian Waidelich about 10 years ago

[!!!][FEATURE] Improve default routing for entities

This improves the default dynamic route part handler so that it
can resolve objects that are known to the persistence manager.
If the routing comes across an object when creating an URI, the
identifier (UUID) of the object is used to resolve the URI part.

This is a breaking change, because routes with dynamic parts now
also match objects even if no custom route part handler is used.

The route:

uriPattern: 'posts/{post}'
'@package': 'TYPO3.Blog'
'@controller': 'Post'
'@action': 'show'
'@format': 'html'

Will now result in the URI "posts/<UUID>"

Change-Id: If3f4a70190d8b26dd7316a724f32f97043f8d048
Related: #8736

  • added
  • modified
  • copied
  • renamed
  • deleted