[BUGFIX] Streamline PageTypeDecorator handling 53/58553/2
authorOliver Hader <oliver@typo3.org>
Tue, 2 Oct 2018 06:47:36 +0000 (08:47 +0200)
committerBenni Mack <benni@typo3.org>
Tue, 2 Oct 2018 07:24:32 +0000 (09:24 +0200)
commit3161825b82a4ba43f464d4131ca634fc04240938
tree663bcc05c8b49f423a0635a48aaa78939a23318a
parent0630073c7b5a5f02dee4422faafe779b8a12f437
[BUGFIX] Streamline PageTypeDecorator handling

* uses '&type=xyz' argument value of query in case no PageType decorator
  has been configured or if no value could be resolved (not defined in
  'map' nor as 'default' value)
* allows using 'default' value without having it defined in 'map' (values
  always should be explicit, however this is a fallback handling)

Resolves: #86538
Releases: master
Change-Id: I32ddbaebba916f875f6cd76609fce6b4172eee4d
Reviewed-on: https://review.typo3.org/58553
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Richard Haeser <richard@maxserv.com>
Tested-by: Richard Haeser <richard@maxserv.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Daniel Goerz <daniel.goerz@posteo.de>
Tested-by: Daniel Goerz <daniel.goerz@posteo.de>
typo3/sysext/core/Classes/Routing/Enhancer/AbstractEnhancer.php
typo3/sysext/core/Classes/Routing/Enhancer/PageTypeDecorator.php
typo3/sysext/core/Classes/Routing/PageRouter.php