data-hub
data-hub copied to clipboard
Fields from ObjectBricks in Reverse Many-To-Many Object relation
Hello,
It seems like we're not able to use fields from ObjectBrick as owner field for Reverse Many-To-Many Object relation.
In order to reproduce the issue please follow the next steps on demo.pimcore.fun :
- There is new ObjectBrick created called "TestRelation" which has only one field "categories" (Many-To-Many Object Relation to Category class)
- There is new Object Class called "TestCarRelation" with 2 fields: "name" and "brick" (previously created ObjectBrick)
- Create new Reverse Many-To-Many Object relation in Category class to see all linked "TestCarRelation" objects - open Category class -> Relations -> select field "test", scroll down to select owner class "TestCarRelation", try to select owner field -> there is no option in select
Expected result: For Reverse Many-To-Many Object relation for owner field you should be able to select "categories" field from "TestCarRelation" class
Related https://github.com/pimcore/pimcore/issues/10593
Thanks a lot for reporting the issue. We did not consider the issue as "Pimcore:Priority", "Pimcore:ToDo" or "Pimcore:Backlog", so we're not going to work on that anytime soon. Please create a pull request to fix the issue if this is a bug report. We'll then review it as quickly as possible. If you're interested in contributing a feature, please contact us first here before creating a pull request. We'll then decide whether we'd accept it or not. Thanks for your understanding.