[TASK] Improve processing of mappable aspects
Improve processing by deferring those mappers that invoke persistence the latest possible time. In case mappers do not match the processing is stopped earlier to avoid superfluous checks and invocations. Resolves: #86464 Releases: master Change-Id: I4f9ec66611e84b49a54223f77aee824033a2fb7a Reviewed-on: https://review.typo3.org/58483 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Frank Naegler <frank.naegler@typo3.org> Tested-by:
Frank Naegler <frank.naegler@typo3.org>
Showing
- typo3/sysext/core/Classes/Routing/Aspect/AspectFactory.php 24 additions, 1 deletiontypo3/sysext/core/Classes/Routing/Aspect/AspectFactory.php
- typo3/sysext/core/Classes/Routing/Aspect/MappableProcessor.php 6 additions, 12 deletions.../sysext/core/Classes/Routing/Aspect/MappableProcessor.php
- typo3/sysext/core/Classes/Routing/Aspect/PersistedAliasMapper.php 1 addition, 1 deletion...sext/core/Classes/Routing/Aspect/PersistedAliasMapper.php
- typo3/sysext/core/Classes/Routing/Aspect/PersistedMappableAspectInterface.php 25 additions, 0 deletions...asses/Routing/Aspect/PersistedMappableAspectInterface.php
- typo3/sysext/core/Classes/Routing/Aspect/PersistedPatternMapper.php 1 addition, 1 deletion...xt/core/Classes/Routing/Aspect/PersistedPatternMapper.php
- typo3/sysext/core/Tests/Unit/Routing/Aspect/AspectFactoryTest.php 180 additions, 0 deletions...sext/core/Tests/Unit/Routing/Aspect/AspectFactoryTest.php
Please register or sign in to comment