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

Fix Trash Manager infinite loading error #16415

Merged
merged 2 commits into from Feb 27, 2024
Merged

Conversation

tanzirev
Copy link

@tanzirev tanzirev commented Apr 5, 2023

What is he doing?

Fixes the "infinite list loading" error.

Where did this error come from?

#16228
This change causes an error when starting the processor "resource/trash/getlist".

How to test

Option 1: Delete the document and go to the trash. Then clean it. There will be an "infinite loading" of the list due to an error. Option 2: Go to the shopping cart and click on the "Update list" icon. There will be an "infinite loading" of the list due to an error.

Decision

It is necessary to return the sorting so that the xPDOQuery object is returned

What is he doing?
Fixes the "infinite list loading" error.

Where did this error come from?
modxcms#16228
This change causes an error when starting the processor "resource/trash/getlist".

How to test
Option 1: Delete the document and go to the trash. Then clean it. There will be an "infinite loading" of the list due to an error.
Option 2: Go to the shopping cart and click on the "Update list" icon. There will be an "infinite loading" of the list due to an error.

Decision
It is necessary to return the sorting so that the xPDOQuery object is returned
@cla-bot cla-bot bot added the cla-signed CLA confirmed for contributors to this PR. label Apr 5, 2023
@JoshuaLuckers JoshuaLuckers added pr/review-needed Pull request requires review and testing. pr/port-to-3 Pull request has to be ported to 3.x. labels Apr 11, 2023
@JoshuaLuckers JoshuaLuckers linked an issue May 9, 2023 that may be closed by this pull request
@Ibochkarev
Copy link
Collaborator

Ibochkarev commented Aug 8, 2023

Related #16433

@smg6511 smg6511 removed the pr/port-to-3 Pull request has to be ported to 3.x. label Sep 27, 2023
@rthrash rthrash added this to the v2.8.7 milestone Jan 25, 2024
@rthrash rthrash added pr/ready-for-merging Pull request reviewed and tested and ready for merging. and removed pr/review-needed Pull request requires review and testing. labels Jan 25, 2024
@opengeek opengeek changed the title Bugfix - "Infinite list loading" in trash manager Fix Trash Manager infinite loading error Feb 27, 2024
@opengeek opengeek merged commit 798fff3 into modxcms:2.x Feb 27, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed CLA confirmed for contributors to this PR. pr/ready-for-merging Pull request reviewed and tested and ready for merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MODX 2.8.5 crach empty cart (trash manager)
8 participants