Actions
Bug #99195
closedDeferredAction may break it's callback if no promise is returned
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.
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
Updated by Andreas Fernandez almost 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 87ae5f3b4d84437ab3c6f4d40c97e7c2532db410.
Actions