1. 07 Aug, 2022 1 commit
  2. 05 Aug, 2022 2 commits
  3. 01 Aug, 2022 1 commit
  4. 30 Jul, 2022 2 commits
    • Nikita Hovratov's avatar
      [BUGFIX] Prevent duplicate page tree items when entry points intersect · 780ee8b3
      Nikita Hovratov authored and Stefan Bürk's avatar Stefan Bürk committed
      In a scenario, where a backend user has two entry
      points, in which the second one intersects the first
      one (is a direct sub-page), pages were shown
      multiple times.
      
      The reason behind this was, that inside
      PageTreeRepository->groupAndSortPages() every page
      was added regardless if it was already added in a
      previous run. This is the case, when the same pages
      are found in different depth levels.
      
      E.g.
      
      1 - Home (DB mount 1)
        2 - Page 1
        2 - Page 2 (DB mount 2)
          3 - Subpage 1 // will be added for level 2 and 3
          3 - Subpage 2
      
      To prevent this, a guard clause was added, which
      checks whether the page was already added by
      comparing the uid value.
      
      Resolves: #96512
      Resolves: #97774
      Related: #96367
      Releases: main, 11.5, 10.4
      Change-Id: I65439011b894f05faef9cb507d905b3d7d3b709f
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75224
      
      Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
      Tested-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
      Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
      780ee8b3
    • Stefan Bürk's avatar
      [BUGFIX] Ensure deterministic sorting in `PageTreeRepository` · 80ecc2c7
      Stefan Bürk authored
      Using database queries without deterministic sorting
      definition may lead to unreliabe resultsets in some
      dbms type and version, which also may change over time.
      Thus it's good practice to have proper defined sorting
      for queries, at least if result relies on a constant
      and reliable result sorting.
      
      With #96512 and #97774 additional tests has been added,
      which showed the unreliable of these database queries,
      blocking the bugfix backport to TYPO3 v10.4.
      
      This patch adds sorting definition to two db queries in
      `\TYPO3\CMS\Backend\Tree\Repository\PageTreeRepository`
      to ensure consistent results in a deterministic manner
      and make it possible to provide the related bugfix for
      TYPO3 v10.4.
      
      Resolves: #98056
      Related: #96512
      Related: #97774
      Releases: main, 11.5, 10.4
      Change-Id: I8a1bf3b93bcfcaec4c3de3ea6321db62847d0c21
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75336
      
      Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
      Tested-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
      Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
      80ecc2c7
  5. 29 Jul, 2022 1 commit
  6. 28 Jul, 2022 1 commit
  7. 26 Jul, 2022 1 commit
  8. 24 Jul, 2022 1 commit
  9. 15 Jul, 2022 1 commit
  10. 14 Jul, 2022 2 commits
  11. 13 Jul, 2022 1 commit
  12. 12 Jul, 2022 3 commits
  13. 10 Jul, 2022 1 commit
  14. 08 Jul, 2022 2 commits
  15. 07 Jul, 2022 2 commits
  16. 06 Jul, 2022 1 commit
  17. 02 Jul, 2022 1 commit
  18. 30 Jun, 2022 1 commit
  19. 28 Jun, 2022 1 commit
  20. 27 Jun, 2022 1 commit
  21. 23 Jun, 2022 1 commit
  22. 22 Jun, 2022 1 commit
  23. 19 Jun, 2022 1 commit
  24. 18 Jun, 2022 1 commit
  25. 15 Jun, 2022 4 commits
  26. 14 Jun, 2022 5 commits