Skip to content
Snippets Groups Projects
  1. Nov 12, 2022
  2. Nov 10, 2022
  3. Nov 09, 2022
  4. Nov 08, 2022
  5. Nov 07, 2022
  6. Nov 06, 2022
    • Benni Mack's avatar
      [BUGFIX] Clean up TCA Tree code base · fee47a86
      Benni Mack authored
      This change simplifies further
      work on the TCA Tree logic.
      
      a) use imported names
      b) ensure to use int|string for Node->getId() as Core uses this
         for integers within e.g. sys_category
      c) fix some phpdoc infos
      d) remove an unused property
      e) use proper casting for integers
      f) use $this->lookupField instead of $this->getLookupField()
         when using 10000 of categories, this function call is superfluous.
      
      By using int|string, the changed code
      
        if ($node->getId() !== 0 && $node->getId() !== '0')
      
      saves 1 (!) DB query on every request.
      
      This change is meant also to be backported
      to v11, for this reason no changes to the types within properties are
      made (only type hints).
      
      Resolves: #99005
      Releases: main, 11.5
      Change-Id: I291cdd0925f77b0e48e224f207eb5e1b0c4fa041
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76448
      
      
      Tested-by: default avatarcore-ci <typo3@b13.com>
      Tested-by: default avatarOliver Bartsch <bo@cedev.de>
      Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
      fee47a86
  7. Nov 04, 2022
  8. Nov 03, 2022
  9. Nov 02, 2022
  10. Oct 31, 2022
  11. Oct 29, 2022
  12. Oct 27, 2022
  13. Oct 26, 2022