Bug #93915
closedWorkspace "Uncaught (in promise) TypeError: a is null" when in workspace manager module
100%
Description
I tested this with TYPO3 10.4.15
When I'm in the workspace manager module I get occasionally the following error in the console. This happens when I have a new MASK CE which has a repeating field, as far as I can tell.
For that I created a new MASK CE which could have a repeating field. At first a did not create any repeating field inside this MASK CE and got no error in the workspace manager module. The I added a repeating field (a new card) and then I got the error:
Backend.js:13:20244
Uncaught (in promise) TypeError: a is null
renderWorkspaceInfos https://.../typo3/sysext/workspaces/Resources/Public/JavaScript/Backend.js?bust=1618330032:13
loadWorkspaceComponents https://.../typo3/sysext/workspaces/Resources/Public/JavaScript/Backend.js?bust=1618330032:13
loadWorkspaceComponents https://.../typo3/sysext/workspaces/Resources/Public/JavaScript/Backend.js?bust=1618330032:13
Backend https://.../typo3/sysext/workspaces/Resources/Public/JavaScript/Backend.js?bust=1618330032:13
jQuery 11
mightThrow
process
setTimeout handler*resolve/<
fire
add
then
Deferred
then
ready
init
jQuery
Backend https://.../typo3/sysext/workspaces/Resources/Public/JavaScript/Backend.js?bust=1618330032:13
<anonymous> https://.../typo3/sysext/workspaces/Resources/Public/JavaScript/Backend.js?bust=1618330032:13
execCb https://.../typo3/sysext/core/Resources/Public/JavaScript/Contrib/require.js:5
check https://.../typo3/sysext/core/Resources/Public/JavaScript/Contrib/require.js:5
enable https://.../typo3/sysext/core/Resources/Public/JavaScript/Contrib/require.js:5
bind https://.../typo3/sysext/core/Resources/Public/JavaScript/Contrib/require.js:5
emit https://.../typo3/sysext/core/Resources/Public/JavaScript/Contrib/require.js:5
each https://.../typo3/sysext/core/Resources/Public/JavaScript/Contrib/require.js:5
emit https://.../typo3/sysext/core/Resources/Public/JavaScript/Contrib/require.js:5
check https://.../typo3/sysext/core/Resources/Public/JavaScript/Contrib/require.js:5
enable https://.../typo3/sysext/core/Resources/Public/JavaScript/Contrib/require.js:5
bind https://.../typo3/sysext/core/Resources/Public/JavaScript/Contrib/require.js:5
emit https://.../typo3/sysext/core/Resources/Public/JavaScript/Contrib/require.js:5
each https://.../typo3/sysext/core/Resources/Public/JavaScript/Contrib/require.js:5
emit https://.../typo3/sysext/core/Resources/Public/JavaScript/Contrib/require.js:5
check https://.../typo3/sysext/core/Resources/Public/JavaScript/Contrib/require.js:5
enable https://.../typo3/sysext/core/Resources/Public/JavaScript/Contrib/require.js:5
bind https://.../typo3/sysext/core/Resources/Public/JavaScript/Contrib/require.js:5
emit https://.../typo3/sysext/core/Resources/Public/JavaScript/Contrib/require.js:5
each https://.../typo3/sysext/core/Resources/Public/JavaScript/Contrib/require.js:5
emit https://.../typo3/sysext/core/Resources/Public/JavaScript/Contrib/require.js:5
Not sure if this is a TYPO3 error or MASK issues...
Files
Updated by David Menzel over 3 years ago
- File cant-publish-to-live.JPG cant-publish-to-live.JPG added
In this example a new page was created and had a mask ce with repeating fields. You can see the new ce in the workspace module but it's not possible to publish the content to the LIVE workspace because the option "Publish to Live" is not available.
Note: We use a workflow with multiple custom steps in between but we haven't changed this since TYPO3 8, so I don't think it's related to the custom steps. "Publish to Live" should still be available imo.
Updated by David Menzel over 3 years ago
- Related to Bug #93645: Workspace pagination empty and Javascript error: Uncaught (in promise) TypeError: t is undefined added
Updated by Nikita Hovratov over 3 years ago
Can confirm this happens since version 10.4.15. In 10.4.14 it works.
Updated by Nikita Hovratov over 3 years ago
Introduced with https://review.typo3.org/c/Packages/TYPO3.CMS/+/68519 (#93645)
Updated by Nikita Hovratov over 3 years ago
Happens with all records, which have inline fields like text-media element with images
Updated by Gerrit Code Review over 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68779
Updated by Oliver Bartsch over 3 years ago
- Has duplicate Bug #93932: Changing stages no longer possible under certain circumstances added
Updated by Gerrit Code Review over 3 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68779
Updated by Oliver Bartsch over 3 years ago
I can only reproduce the JavaScript error in case the items in the module are not paginated. So, the amount of parent records is less than the defined limit per page (default 30).
Can someone confirm this?
Updated by Gerrit Code Review over 3 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68779
Updated by Gerrit Code Review over 3 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68779
Updated by Gerrit Code Review over 3 years ago
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68793
Updated by Nikita Hovratov over 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7258b52477a3c9119a24af20c1513c111dac768f.
Updated by Oliver Bartsch about 3 years ago
- Related to Bug #94031: No publishing possible since TYPO3 10.4.15 added
Updated by Francois Suter almost 2 years ago
- Related to Bug #98129: Workspace pagination is broken added