Skip to content
Snippets Groups Projects
  1. Sep 02, 2022
  2. Aug 30, 2022
  3. Aug 28, 2022
  4. Aug 25, 2022
  5. Aug 24, 2022
  6. Aug 22, 2022
  7. Aug 21, 2022
  8. Aug 19, 2022
  9. Aug 17, 2022
  10. Aug 16, 2022
  11. Aug 15, 2022
    • Elias Häußler's avatar
      [BUGFIX] Do not hide ContentObjectRenderer on form rendering · f8fa1be3
      Elias Häußler authored
      With #93887 (respectively #92406), a more convenient rendering
      mechanism for forms was introduced. A new FormRequestHandler
      centralized all the logic from the <formvh:render> view helper
      to allow smoother form handling. However, the new implementation
      used to hide the current ContentObjectRenderer implementation
      and instead always fetched a new instance with
      GeneralUtility::makeInstance().
      
      This no longer allows to determine the current content object
      rendering context from e.g. form finishers. Since the current
      implementation can be retrieved by the ConfigurationManager,
      it is now used in the <formvh:render> view helper, falling
      back to a new ContentObjectRenderer instance in case the
      ConfigurationManager does not actually provide an instance
      of ContentObjectRenderer.
      
      Resolves: #97977
      Related: #93887
      Related: #92406
      Releases: main, 11.5
      Change-Id: Iabf4e93e6aff8da742321958730521ef1696f130
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75447
      
      
      Tested-by: default avatarcore-ci <typo3@b13.com>
      Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
      Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
      f8fa1be3
    • Nikita Hovratov's avatar
      [BUGFIX] Correct tree.pagelayout condition evaluation · 3dcb0c17
      Nikita Hovratov authored
      With #88276 a new condition has been implemented to check
      for current selected pageLayout in FE and BE, example:
      
      [tree.pagelayout == "pagets__simple"]
      
      This has various bugs.
      
      Frontend:
      * The evaluation stops at the sys_template record that has
        'root' flag set. This is not in-line with the backend
        condition implementation, which goes further up in rootline.
      
      * The evaluation does not look for first specified layout
        up in rootline, but goes from root down to selected page.
        The condition thus calculates wrong layout when different
        'backend_layout_next_level' are nested on rootline pages,
        it picks the uppermost set, not the lowermost one.
      
      This is fixed by using TSFE->rootLine instead of tmpl->rootLine,
      since TSFE->rootLine provides the full rootline in correct
      order.
      
      Backend:
      * Similar to FE, the evaluation should go up in rootline,
        but is processed downwards instead.
      
      This is fixed by handing over the 'reversed' full rootline.
      
      The v12 version of the patch is slightly different: Patch
      for issue #97963 introduced yet another bug by accessing
      TSFE->config['rootLine'], which isn't set at all at this
      point in the frontend processing chain when the page is not
      yet cached, or has no USER_INT or COA_INT.
      
      Resolves: #98044
      Related: #88276
      Related: #97963
      Releases: main, 11.5
      Change-Id: I1dc9a4dfc6aea6bec4d8e2eb65a6919d486f4a99
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75444
      
      
      Tested-by: default avatarcore-ci <typo3@b13.com>
      Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
      Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
      Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
      Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
      3dcb0c17
  12. Aug 13, 2022
  13. Aug 12, 2022
  14. Aug 11, 2022
  15. Aug 10, 2022