Bug #48939
Moving a content down moves it in another column
Status: | Resolved | Start date: | 2013-06-07 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Nicole Cordes | % Done: | 100% |
|
Category: | Backend User Interface | Spent time: | - | |
Target version: | next-patchlevel | |||
TYPO3 Version: | 4.7 | Is Regression: | Yes | |
PHP Version: | 5.3 | Sprint Focus: | ||
Complexity: |
Description
It seems there is a problem with sorting behavior on content element in page view.
It can be reproduced with the following steps :- Create a new page
- Add a new content in the normal column (text content with header set to "test1")
- Add a new content in the right column (text content with header set to "test2")
- Move test1 content up; this shouldn't be possible and it has no effect except displaying the down arrow on this content
- Move test1 content down; here again, it should not be possible. It moves this content from the normal column to the right column.
I guess this have something to do with the getResult function in class.tx_cms_layout.php (line 2061). The prev and next ids are set without taking in account the column position of the content element.
I use typo3 v4.7.12.
Related issues
Associated revisions
[BUGFIX] Movements pollute colPos value of content elements
Due to commit I148ca1b023226f2f99417b3baf238b72346e721f the information
concerning previous and next content elements in one row is messed up.
This patch helps to build information which depends on colPos again and
prevents records being moved to another column.
Resolves: #48939
Resolves: #49055
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I3a15321ee11a1f7d96b58b8b7a5ab14098664b22
Reviewed-on: https://review.typo3.org/25001
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
[BUGFIX] Movements pollute colPos value of content elements
Due to commit I148ca1b023226f2f99417b3baf238b72346e721f the information
concerning previous and next content elements in one row is messed up.
This patch helps to build information which depends on colPos again and
prevents records being moved to another column.
Resolves: #48939
Resolves: #49055
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I3a15321ee11a1f7d96b58b8b7a5ab14098664b22
Reviewed-on: https://review.typo3.org/31492
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
[BUGFIX] Movements pollute colPos value of content elements
Due to commit I148ca1b023226f2f99417b3baf238b72346e721f the information
concerning previous and next content elements in one row is messed up.
This patch helps to build information which depends on colPos again and
prevents records being moved to another column.
Resolves: #48939
Resolves: #49055
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I3a15321ee11a1f7d96b58b8b7a5ab14098664b22
Reviewed-on: https://review.typo3.org/31493
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
[BUGFIX] Movements pollute colPos value of content elements
Due to commit I148ca1b023226f2f99417b3baf238b72346e721f the information
concerning previous and next content elements in one row is messed up.
This patch helps to build information which depends on colPos again and
prevents records being moved to another column.
Resolves: #48939
Resolves: #49055
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I3a15321ee11a1f7d96b58b8b7a5ab14098664b22
Reviewed-on: https://review.typo3.org/31495
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
[BUGFIX] Movements pollute colPos value of content elements
Due to commit I148ca1b023226f2f99417b3baf238b72346e721f the information
concerning previous and next content elements in one row is messed up.
This patch helps to build information which depends on colPos again and
prevents records being moved to another column.
Resolves: #48939
Resolves: #49055
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I3a15321ee11a1f7d96b58b8b7a5ab14098664b22
Reviewed-on: https://review.typo3.org/31494
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
[BUGFIX] Movements pollute colPos value of content elements
Due to commit I148ca1b023226f2f99417b3baf238b72346e721f the information
concerning previous and next content elements in one row is messed up.
This patch helps to build information which depends on colPos again and
prevents records being moved to another column.
Resolves: #48939
Resolves: #49055
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Change-Id: I3a15321ee11a1f7d96b58b8b7a5ab14098664b22
Reviewed-on: https://review.typo3.org/31493
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
(cherry picked from commit b1c86f2aaf5aae73bcf194973dcf6c4eab61a9b8)
Reviewed-on: https://review.typo3.org/31497
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
History
#1 Updated by Timo Bartholomes about 2 years ago
I have the same behavior in 4.5.27, but thought it might be related to the backend layout.
#2 Updated by Sander Leeuwesteijn about 2 years ago
Having the same in 4.5.27!
#3 Updated by Thorsten Kahler almost 2 years ago
- Category set to Backend User Interface
- Status changed from New to Accepted
- Is Regression set to Yes
This bug is caused by the faulty fix for #44470.
#4 Updated by Daniel Wagner almost 2 years ago
This also happens in TYPO3 v4.5.30, v4.5.29 and v4.5.27 (v4.5.28 not tested) - all without workspaces, but using backendlayout.
Some content elements in the first row in different columns have a move up button and some not.
After clicking the up or down button, the content element mostly will appear in a wrong colPos.
#5 Updated by Nicole Cordes almost 2 years ago
- Assigned To set to Nicole Cordes
- Target version set to next-patchlevel
#6 Updated by Gerrit Code Review almost 2 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/25001
#7 Updated by Gerrit Code Review almost 2 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/25001
#8 Updated by Gerrit Code Review almost 2 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/25001
#9 Updated by Siva Prasad over 1 year ago
- File class.tx_cms_layout.php.diff
added
Please check the attached diff file. For me the issue is fixed with these changes . If you guys have some better idea than this one please suggest
#10 Updated by Sander Leeuwesteijn over 1 year ago
It appears this issue also happens in 4.5.32!
#11 Updated by Sander Leeuwesteijn over 1 year ago
Can anyone tell me if this issue will be fixed in 4.5.33?
#12 Updated by Nicole Cordes over 1 year ago
As you can see, this patch is blocked by now. This means it cannot be merged until there is a decision which way to go (see attached review comments).
#13 Updated by Daniel Wagner over 1 year ago
What is the actual state? Do the different opinions converge to a decision? The last entry is from Feb 26.
#14 Updated by Gerrit Code Review about 1 year ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25001
#15 Updated by Gerrit Code Review about 1 year ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/31492
#16 Updated by Gerrit Code Review about 1 year ago
Patch set 1 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/31493
#17 Updated by Gerrit Code Review about 1 year ago
Patch set 1 for branch TYPO3_4-5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/31494
#18 Updated by Gerrit Code Review about 1 year ago
Patch set 2 for branch TYPO3_4-5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/31494
#19 Updated by Gerrit Code Review about 1 year ago
Patch set 1 for branch TYPO3_4-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/31495
#20 Updated by Nicole Cordes about 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ebdd15ea62115329eb324ac29e5400e5806c01bf.
#21 Updated by Gerrit Code Review about 1 year ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_6-0 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/31497
#22 Updated by Nicole Cordes about 1 year ago
- Status changed from Under Review to Resolved
Applied in changeset f9d05d26a3314f2354442ab3d8d0fa3da2b874c8.