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

QPR ranges stored in reverse order when persisting #2497

Closed
solverat opened this issue Jan 5, 2024 · 1 comment
Closed

QPR ranges stored in reverse order when persisting #2497

solverat opened this issue Jan 5, 2024 · 1 comment
Assignees
Labels
Milestone

Comments

@solverat
Copy link
Contributor

solverat commented Jan 5, 2024

Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
  • Create a simple QPR:
    image
  • Hit Save Button
  • After the refresh, all ranges are reversed:
    image

It also happens if you create CPR with PHP API.

The range is fine until the flush method will be executed here:

Not sure if this discussion is related (Because it worked before?): doctrine/orm#11058 (comment)

If this is the case, we should sort the range based on rangeStartingFrom because the calculation heavily depends on this!

@dpfaffenbauer
Copy link
Member

#2498

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

2 participants