Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression in object browser Volto 18? #5956

Open
fredvd opened this issue Apr 12, 2024 · 1 comment
Open

Regression in object browser Volto 18? #5956

fredvd opened this issue Apr 12, 2024 · 1 comment
Labels
01 type: bug 30 needs: triage New issue that needs confirmation before work begins

Comments

@fredvd
Copy link
Sponsor Member

fredvd commented Apr 12, 2024

The object browser for main (Volto 18) seems to have a bug. Except for the single item select, multiple select and other storybooks show the following error for the object browser widget. In a project where we try multiple select we see similar issues:

https://6.docs.plone.org/storybook/?path=/story/edit-widgets-object-browser--placeholder

Screenshot 2024-04-12 at 16 22 19
@fredvd fredvd added 01 type: bug 30 needs: triage New issue that needs confirmation before work begins labels Apr 12, 2024
@davisagli
Copy link
Sponsor Member

@fredvd I couldn't reproduce it on main using the related items field.

It's not immediately obvious to me what causes the error. It looks like it would happen if the object browser nav component is passed a value for selected which is truthy but not an Array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
01 type: bug 30 needs: triage New issue that needs confirmation before work begins
Projects
None yet
Development

No branches or pull requests

2 participants