Comments (4)
Hi @dariuskapitza , can you describe how this is reproduceable on a TYPO3/container Vaniila Instance?, i know nothing about any gridtocontainer migrations ...
from container.
We have exactly the same problem. We can reproduce it in one of our project.
I can send you a db-export of pages and tt_content.
from container.
container-sorting.tar.gz
Here is a ddev project with data to reproduce it fast:
- extract container-sorting.tar.gz
- ddev start
- This automatically makes a composer install and imports the db
- The BE-Login Data is in the READ.ME
- Go to page module, page "Katastrophenschutz"
- Drag&drop the last Content "Einmal Berge und zurück..." up before "Blackout"
- After reloading the Backend: "Einmal Berge und zurück..." is at the bottom again :(
from container.
ok, got it, the problem here is that "global" sorting on this page is "wrong"
MariaDB [db]> select uid,tx_container_parent,CType,header,sorting,colPos,pid from tt_content order by sorting;
+------+---------------------+--------------+-----------------------------+---------+--------+-----+
| uid | tx_container_parent | CType | header | sorting | colPos | pid |
+------+---------------------+--------------+-----------------------------+---------+--------+-----+
| 2560 | 0 | container-12 | | 4 | 0 | 255 |
| 2559 | 0 | container-12 | Blackout | 8 | 0 | 255 |
| 2558 | 2559 | mask_image | | 16 | 10 | 255 |
| 2556 | 2560 | mask_text | | 64 | 10 | 255 |
| 2555 | 0 | container-12 | Einmal Berge und zurück... | 66 | 0 | 255 |
| 2554 | 2555 | mask_text | | 75 | 10 | 255 |
+------+---------------------+--------------+-----------------------------+---------+--------+-----+
should be:
MariaDB [db]> select uid,tx_container_parent,CType,header,sorting,colPos,pid from tt_content order by sorting;
+------+---------------------+-----------+-----------------------------+---------+--------+-----+
| uid | tx_container_parent | CType | header | sorting | colPos | pid |
+------+---------------------+-----------+-----------------------------+---------+--------+-----+
| 2560 | 0 | container-12 | | 4 | 0 | 2 |
| 2556 | 2560 | mask_text | | 64 | 200 | 2 |
| 2559 | 0 | container-12 | Blackout | 65 | 0 | 2 |
| 2558 | 2559 | mask_image | | 321 | 200 | 2 |
| 2555 | 0 | container-12 | Einmal Berge und zurück... | 578 | 0 | 2 |
| 2554 | 2555 | mask_text | | 587 | 200 | 2 |
+------+---------------------+-----------+-----------------------------+---------+--------+-----+
result can be achieved by
$cmdmap = [
'tt_content' => [
2559 => [
'move' => -2560
]
]
];
container sorting command only fixes sorting of container children.
i will have an other look on it.
from container.
Related Issues (20)
- Content-Elements with sys_language_uid === -1 are only shown in the language they're in HOT 2
- TYPO3 13 compatibility
- Endless loop in sorting command HOT 2
- Flexform: Default values are not immediately saved when creating a container
- The child element of the container is not visible in the Workspace; when in Live the child elements are hidden HOT 1
- Feature Request: Add Event to ContainerPreviewRenderer
- Error when I try to execute the upgrade wizard "EXT:container: Migrate "container" sorting" with TYPO3 V12 HOT 2
- incomplete upgrade container HOT 3
- Positioning of CEs broken while drag-n-drop is active HOT 3
- Update to v2 HOT 1
- ContentUsedOnPage listener should not unhide content elements
- Option setBackendTemplate is missing HOT 2
- Elements become unused when language is changed manually
- Sorting error on copying translated contentElements HOT 3
- Error in upgrade wizard "EXT:container: Migrate "container" sorting" in TYPO3 12.4.15
- Double execution of finishers when using Typo3 Forms inside of container
- colSpan not working in the backend view HOT 6
- Feature: Display elements nested in list view HOT 3
- Registry: Global disallow setting
- Child elements are inserted twice when copying HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from container.