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

Endless loop in sorting command #481

Open
kitzberger opened this issue Feb 22, 2024 · 2 comments
Open

Endless loop in sorting command #481

kitzberger opened this issue Feb 22, 2024 · 2 comments

Comments

@kitzberger
Copy link
Contributor

We just had the case where a (obviously broken) "self containing" container broke the sorting command by sending it into an endless loop.

+-------+------+--------+------------------+-------------+---------------------+----------------------+
| uid   | pid  | colPos | sys_language_uid | l18n_parent | tx_container_parent | CType                |
+-------+------+--------+------------------+-------------+---------------------+----------------------+
| 27541 | 1419 |    101 |                0 |           0 |               27541 | container_accordion  |
+-------+------+--------+------------------+-------------+---------------------+----------------------+

A simple SQL update fixed the problem for us:

UPDATE tt_content SET colPos=0,hidden=1,tx_container_parent=0 WHERE uid=tx_container_parent;

Maybe this check can be included into the sorting command? 🤔

@sneopu
Copy link

sneopu commented Feb 23, 2024

@kitzberger Thanks a lot for this!
Helped me to fix the hanging upgrade wizard EXT:container: Migrate "container" sorting
(identifier: container_migratesorting)

@treknuts
Copy link

This also fixed the hanging upgrade wizard for me. @kitzberger thanks, friend :)

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

No branches or pull requests

3 participants