Review main Merged

63051[BUGFIX] Improve visual output of slug proposal

Elias Häußler CR +2 V +2 Easy +4 −3 updated 02/03/20, 09:34

Commit message

If slugs are generated within Backend forms, the visual output (= label
below slug field) of the generated slug proposal might be broken if no
slash is prepended to the generated slug. This might be the case in custom
database tables where custom slug fields are defined with the
configuration "prependSlash" set to "false" (which is the default value).
It can also be the case if the configuration "prefixParentPageSlug" is set
to "false".

In order to ensure a clean visual output for those labels, the slug
proposalwithin them will now always be prepended by a slash. This makes
sure that the resulting url which is shown within those labels is always
valid. Note that this only effects visual output and is not meant to
modify any slug proposal generated by the SlugHelper class.

Review

  • Code review CR +2 Done
    • Benni Mack +2
    • Moritz Ngo +1
  • Verified V +2 Done
    • Benni Mack +2
    • Moritz Ngo +1
    • TYPO3com +1 CI

Issues 1

Files 2

Review log 57

  1. Elias Häußler uploaded patch set 1 01/27/20, 21:00

  2. TYPO3com voted on patch set 1 V +1 01/27/20, 21:09 Completed build in 08m 49s on Mon, 27 Jan, 09:08 PM Test Summary: 70600 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-40286

  3. Elias Häußler uploaded patch set 2 02/02/20, 18:01

  4. TYPO3com voted on patch set 2 V +1 02/02/20, 18:12 Completed build in 10m 27s on Sun, 2 Feb, 06:12 PM Test Summary: 71247 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-40485

  5. Moritz Ngo voted on patch set 2 V +1 CR +1 02/02/20, 20:08

  6. Benni Mack voted on patch set 2 V +2 CR +2 02/03/20, 09:34

  7. Benni Mack merged patch set 3 02/03/20, 09:34