Project

General

Profile

Actions

Bug #99195

closed

DeferredAction may break it's callback if no promise is returned

Added by Andreas Kienast almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-11-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

Discovered by acceptance tests:

1) RecyclerModuleCest: Delete and recover records
 Test  Acceptance/Application/Recycler/RecyclerModuleCest.php:deleteAndRecoverRecords
 Step  See element ".module-docheader [name=BackendUserModuleMenu]" 
 Fail  Found following JavaScript errors in the browser console:
13:26:33.607 SEVERE - http://web:8000/typo3temp/var/tests/acceptance/typo3/sysext/backend/Resources/Public/JavaScript/action-button/deferred-action.js?bust=0f9537c0e5e6da036d0e659b29ec9dd3fafa6e79 12:415 Uncaught TypeError: Cannot read properties of undefined (reading 'finally')

The issue is that the code relies on having a Promise returned which is not always given.

Actions #1

Updated by Gerrit Code Review almost 2 years ago

  • Status changed from In Progress to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76824

Actions #2

Updated by Andreas Fernandez almost 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by Benni Mack almost 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF