Bug #90123

Avoid applying zero prefix for zero in StaticRangeMapper

Added by Oliver Hader about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2020-01-15
Due date:
% Done:

100%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Range from '01' to '03' correctly leads to ['01','02','03']. The
prefix mechanism is however applied for a range from '0' to '11'.
This should only happen when explicitly having used '00' to '11'.


Related issues

Related to TYPO3 Core - Bug #87730: Route Enhancers/Aspects: StaticRangeMappers make PersistedAliasMapper be ignored Resolved 2019-02-18

Associated revisions

Revision 322f7a00 (diff)
Added by Oliver Hader about 1 month ago

[BUGFIX] Avoid applying zero prefix for zero in StaticRangeMapper

Range from '01' to '03' correctly leads to ['01','02','03']. The
prefix mechanism is however applied for a range from '0' to '11'.
This should only happen when explicitly having used '00' to '11'.

Resolves: #90123
Releases: master, 9.5
Change-Id: I90672c4d94cb97d61fe45f8d6e1382b8be3b49b7
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62920
Tested-by: TYPO3com <>
Tested-by: Markus Klein <>
Tested-by: Susanne Moog <>
Reviewed-by: Markus Klein <>
Reviewed-by: Tobi Kretschmann <>
Reviewed-by: Felix P. <>
Reviewed-by: Daniel Goerz <>
Reviewed-by: Susanne Moog <>

Revision 0a14ffac (diff)
Added by Oliver Hader about 1 month ago

[BUGFIX] Avoid applying zero prefix for zero in StaticRangeMapper

Range from '01' to '03' correctly leads to ['01','02','03']. The
prefix mechanism is however applied for a range from '0' to '11'.
This should only happen when explicitly having used '00' to '11'.

Resolves: #90123
Releases: master, 9.5
Change-Id: I90672c4d94cb97d61fe45f8d6e1382b8be3b49b7
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62935
Tested-by: TYPO3com <>
Tested-by: Susanne Moog <>
Reviewed-by: Susanne Moog <>

History

#1 Updated by Gerrit Code Review about 1 month ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62920

#2 Updated by Oliver Hader about 1 month ago

  • Related to Bug #87730: Route Enhancers/Aspects: StaticRangeMappers make PersistedAliasMapper be ignored added

#3 Updated by Gerrit Code Review about 1 month ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62935

#4 Updated by Oliver Hader about 1 month ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF