Review 10.4 Merged

69441[BUGFIX] Respect offline storages on context menu initialization

Oli Bartsch CR +2 V +2 Easy +6 −3 updated 06/18/21, 11:09

Commit message

The FileProvider tries to retrieve the file / folder object
on initialization. In case the requested folder or storage
is temporarily offline, a ResourceDoesNotExistException
is thrown.

This is now fixed by catching the exception an setting
the $record to NULL. This allows to still render the
context menu with the remaining options, such as edit
the storage record or display the records information.

Review

  • Code review CR +2 Done
    • Oli Bartsch +2
  • Verified V +2 Done
    • Oli Bartsch +2
    • core-ci +1 CI

Issues 1

Files 1

Review log 34

  1. Oli Bartsch commented on patch set 1 06/18/21, 10:55

    Cherry Picked from branch master.
  2. core-ci voted on patch set 1 V +1 06/18/21, 11:07 Core CI is happy: https://gitlab.typo3.org/TYPO3/CI/cms/-/pipelines/12577

  3. Oli Bartsch voted on patch set 1 V +2 CR +2 06/18/21, 11:09

  4. Oli Bartsch merged patch set 2 06/18/21, 11:09