You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also tested with npm/10.8.2 node/v20.17.0 darwin arm64 - seems unrelated.
Describe the bug
Maybe related to #20978 and #21059. But since those got closed as completed with a fix and im still running into that kind of issue there may be a new bug or some unnoticed edge cases.
When I try to configure the view of an element (/admin/content-manager/components/someelementname/configurations/edit) I get the following error with the "Something went wrong"-view:
Uncaught TypeError: Cannot read properties of undefined (reading 'attributes')
at oDe (strapi-Cnl_eieY.js:2686:25230)
at strapi-Cnl_eieY.js:2686:27306
at Array.map (<anonymous>)
at strapi-Cnl_eieY.js:2686:27071
at Array.map (<anonymous>)
at Sme (strapi-Cnl_eieY.js:2686:27062)
at ComponentConfigurationPage-DaPOlQaD-DZxDLssy.js:1:3014
at Array.reduce (<anonymous>)
at V (ComponentConfigurationPage-DaPOlQaD-DZxDLssy.js:1:2982)
at ComponentConfigurationPage-DaPOlQaD-DZxDLssy.js:1:1777
Important to note: The error is gone after a restart of the strapi-service. But it may be interesting to find the cause of that problem since regular users are able to trigger that, unable to restart the service.
Steps to reproduce the behavior
create a collection type (lets call it "pages" for references) with a dynamic zone ("blocks")
create a component ("slider") which has some basic-fields (like "fluid") and a repeatable component "slides" which also has some fields (like "title")
add that "slider"-component to our dynamic-zone "blocks" of the "pages"-collection
create component ("content") that has a field referencing the previously created component (= a "content"-component may have a "slider")
add that "content"-component to our dynamic-zone "blocks" of the "pages"-collection
create some "pages" that use the previously created component
open a created entry within the content manager and go to the "Configure the view"-page
open the config of the "content"-component and go back (just to see that it works fine)
open the config of the "slider"-component, edit a field, click "finish" in the dialog, save the view
click "Set the component's layout" of our nested "slides"-component, edit a field and press "finish" in the dialog followed by a "save" in the upper right corner
click "back" in the upper left corner -> many "An error occurred while trying to open the form."-popups get shown
click "back" again so we're back at our page from step 7
important: Reload the browser-tab
try to do step 8 again and you'll the the "Something went wrong"-view with the shown "Cannot read properties of undefined (reading 'attributes')"-error
that error is persistent until the next restart of the strapi-service (then everything is fine again)
Expected behavior
no "An error occurred while trying to open the form"-errors shown in step 11
no "Something went wrong"-view until a restart when you try to use the "Configure the view"-Tool
Screenshots
Structure of the "pages" collection
Structure of the "content"-component (and the "slider"-component) used in the "pages" collection
View after step 11:
View after step 14:
Code snippets
No code to provide since the error occurs while using the ui.
Additional context
As previously mentioned, the error may be related to #20978 and #21059.
The text was updated successfully, but these errors were encountered:
Bug report
Required System information
Also tested with npm/10.8.2 node/v20.17.0 darwin arm64 - seems unrelated.
Describe the bug
Maybe related to #20978 and #21059. But since those got closed as completed with a fix and im still running into that kind of issue there may be a new bug or some unnoticed edge cases.
When I try to configure the view of an element (/admin/content-manager/components/someelementname/configurations/edit) I get the following error with the "Something went wrong"-view:
Important to note: The error is gone after a restart of the strapi-service. But it may be interesting to find the cause of that problem since regular users are able to trigger that, unable to restart the service.
Steps to reproduce the behavior
Expected behavior
Screenshots
Structure of the "pages" collection
Structure of the "content"-component (and the "slider"-component) used in the "pages" collection
View after step 11:
View after step 14:
Code snippets
No code to provide since the error occurs while using the ui.
Additional context
As previously mentioned, the error may be related to #20978 and #21059.
The text was updated successfully, but these errors were encountered: