Bug #84985
closedPublished workspace record show in page tree
100%
Description
Steps to reproduce¶
- switch to some workspace
- change title of page & save
- publish workspace version to live
- reload page tree
Result¶
- page tree shows modified value
- page tree shows previous old version
Background¶
When publishing workspace records, the previous old version is still persisted with pid=-1
and t3ver_wsid=0
- that's correct. However, these records are not not filtered in the page tree.
Pointer¶
Flaws in resolving records in PageTreeRepository::fetchAllPages
and maybe in BackendWorkspaceRestriction
usage...
Updated by Gerrit Code Review over 6 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56941
Updated by Gerrit Code Review over 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56941
Updated by Tymoteusz Motylewski over 6 years ago
- Category changed from Pagetree to Workspaces
Updated by Gerrit Code Review about 6 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56941
Updated by Achim Fritz about 6 years ago
same Problem when discard a change in FE Preview
Steps to reproduce:
- switch to some workspace
- change title (e.g. "title" to "title2") of page & save
- go to FE Preview and "discard" Change
- reload page tree in Backend
Result:
both pages are shown in Tree
DB:
+---------+------+------+--------+-------------+-----------+----------+------------------------+-------------+------------+
| deleted | pid | uid | title | t3ver_count | t3ver_oid | t3ver_id | t3ver_label | t3ver_state | t3ver_wsid |
+---------+------+------+--------+-------------+-----------+----------+------------------------+-------------+------------+
| 0 | 4710 | 5488 | title | 0 | 0 | 1 | First draft version | 0 | 0 |
| 0 | -1 | 5490 | title2 | 0 | 5488 | 2 | Auto-created for WS #4 | 0 | 0 |
+---------+------+------+--------+-------------+-----------+----------+------------------------+-------------+------------+
Updated by Benni Mack about 6 years ago
Expected result (which should be adapted in PageTreeRepository - line 215) - When in workspace, records which have been published should never show up. These can be identified with "pid = -1 AND t3ver_wsid=0"
Updated by Gerrit Code Review about 6 years 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/56941
Updated by Oliver Hader about 6 years ago
- Related to Bug #85742: New page in workspace doesn't load content elements in preview added
Updated by Gerrit Code Review about 6 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56941
Updated by Gerrit Code Review about 6 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56941
Updated by Gerrit Code Review about 6 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58902
Updated by Benni Mack about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset cda6c030088a4160ed4446e76db37ce1a0f43f62.