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

Wrong rank of related objects with save cascade #979

Open
ktounet opened this issue Aug 10, 2015 · 4 comments
Open

Wrong rank of related objects with save cascade #979

ktounet opened this issue Aug 10, 2015 · 4 comments
Labels

Comments

@ktounet
Copy link
Contributor

ktounet commented Aug 10, 2015

Hi,

Incorrect data into "bien_charge", u can check "test" and "sortable_rank" columns.
http://sandbox.propelorm.org/58f8213

Correct "bien_charge"
http://sandbox.propelorm.org/bea9033

Probably a bug due to Propel, because the only thing that changes is the call to "save" function before or after instantiation, and i don't think this is the expected behavior.

Thanks.

@ktounet ktounet changed the title Wrong order of related objects with save cascade Wrong rank of related objects with save cascade Aug 27, 2015
@ktounet
Copy link
Contributor Author

ktounet commented Aug 27, 2015

I have a second bug with scope parameter of sortable behavior.

Adding multiple objects before saving causes a bad "rank", it's the same value "1" for each objects !
http://sandbox.propelorm.org/dab1e08

However, it works when I call the "save" function before to add the next object...
http://sandbox.propelorm.org/dff3d40

Thanks again.

@ktounet
Copy link
Contributor Author

ktounet commented Jan 7, 2016

I am the only one with these problems?

@pierregaste
Copy link

Any news about this issue?

@dereuromark dereuromark added the Bug label Jul 1, 2020
@dereuromark
Copy link
Contributor

Is someone able to make a PR here with suggested changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants