Review 11.5 Merged

80414[BUGFIX] Don't notify the editor about canceled SvgTree Ajax request

Andreas Kienast CR +2 V +2 Easy +26 −2 updated 08/05/23, 20:42

Commit message

If the svg-tree component is embedded in an iframe,
and if the iframe src get changed by navigating to another url,
pending AjaxRequest will be cancelled by the browser,
without letting us the opportunity to properly catch the thrown error.

As a workaround, we register an unload event on the iframe's window,
and mute notifications to the user.

Review

  • Code review CR +2 Done
    • Andreas Kienast +2
  • Verified V +2 Done
    • Andreas Kienast +2
    • core-ci +1 CI

Issues 1

Files 2

Review log 34

  1. Andreas Kienast uploaded patch set 1 08/05/23, 20:16

  2. core-ci voted on patch set 1 V +1 08/05/23, 20:37 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/45124

  3. Andreas Kienast voted on patch set 1 V +2 CR +2 08/05/23, 20:42

  4. Andreas Kienast merged patch set 2 08/05/23, 20:42