demo
demo copied to clipboard
Cycle ManyToMany relation is not working
Q | A |
---|---|
Is bugfix? | ❌ |
New feature? | ❌ |
Breaks BC? | ❌ |
Fixed issues | - |
I just want to inform you to know that the ManyToMany relation is not working correctly even in this demo application. (Or I use it wrong, because I can not solve this issue for days.)
I want to store multiple tags for posts. These tags maybe new, maybe already exists in the database. If it is new, then it works great. But if I want to assing an existing Tag to a new Post, it fails.
Related issue in Cycle ORM: https://github.com/cycle/orm/issues/329
I also updated the tests for this demo app, because I did not understand how it could work here. But it is not working.
#439 is a related issue too
@albertborsos how exactly does it fail? @roxblnfk would you please take a look?
@samdark I modified the tests to make them fail.
I get the exact same error in my application: https://github.com/yiisoft/demo/runs/5888867520?check_suite_focus=true
yes, temp solution
https://github.com/cycle/orm/issues/329