Review TYPO3_7-6 Merged

50154[FOLLOWUP][BUGFIX] Fix evaluation of rootLevel configuration in NewRecordController

Stefan Neufeind CR +2 V +2 Easy +1 −1 updated 10/09/16, 23:20

Commit message

If there is no configuration for the rootLevel in a tables' TCA, the
NewRecordController silently assumes -1. This means a table can be
inserted on a page AND on root level. This behaviour is wrong because in
TCA documentation per default rootLevel is 0 which means, this table can
only be used on pages.
This patch sets the correct default value for rootLevel if not set.

Review

  • Code review CR +2
    • Stefan Neufeind +2
  • Verified V +2
    • Stefan Neufeind +2
    • TYPO3com +1 CI

Issues 1

Files 1

Review log 34

  1. Stefan Neufeind uploaded patch set 1 10/09/16, 23:18

  2. Stefan Neufeind commented on patch set 1 CR +2 V +2 10/09/16, 23:19

    hand-cherrypicked, retested on 7.6
  3. TYPO3com voted on patch set 1 V +1 10/09/16, 23:19 Completed build in 01m 40s on Mon, 10 Oct, 01:19 AM Test Summary: 34926 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC76-158

  4. Gerrit merged patch set 1 10/09/16, 23:20