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

Not able to select variants in manyToOneRelation #4750

Closed
bramstroker opened this issue Jul 23, 2019 · 0 comments · Fixed by #4787
Closed

Not able to select variants in manyToOneRelation #4750

bramstroker opened this issue Jul 23, 2019 · 0 comments · Fixed by #4787

Comments

@bramstroker
Copy link
Contributor

bramstroker commented Jul 23, 2019

Expected behavior

In the search grid I need to have a choice between Object and Variant and All types.

Actual behavior

Only Object option is available in the types dropdown.
The issue seems to be related to the allow Objets checkbox in the manyToOneRelation settings.
See also manyToOneRelation.js:openSearchEditor().
In pimcore 5 I was able to select variants, but this broke in pimcore 6.

Steps to reproduce

  • Go to classes configuration and open a class.
  • Create a new manyToOneRelation field
  • Check the box allow Objects and select a class to be allowed
  • Go to an object and click the search icon (loop) in the relation grid.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant