demo icon indicating copy to clipboard operation
demo copied to clipboard

Cycle ManyToMany relation is not working

Open albertborsos opened this issue 2 years ago • 4 comments

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.

albertborsos avatar Apr 08 '22 17:04 albertborsos

#439 is a related issue too

albertborsos avatar Apr 08 '22 22:04 albertborsos

@albertborsos how exactly does it fail? @roxblnfk would you please take a look?

samdark avatar Apr 12 '22 08:04 samdark

@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

albertborsos avatar Apr 12 '22 08:04 albertborsos

yes, temp solution

https://github.com/cycle/orm/issues/329

TiaNex-Com avatar May 26 '22 00:05 TiaNex-Com