Bug #69135

[DATALOSE] lowlevel_cleaner: orphan_records deletes records in WS

Added by Alexander Opitz about 6 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend API
Target version:
Start date:
2015-08-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
medium
Is Regression:
Yes
Sprint Focus:
Stabilization Sprint

Description

The CleanerCommand builds a tree by traversing through every table, but WS Records have a pid of -1 so they do not go into the traverse tree.

Afterwards the OrphanRecordsCommand recognizes all Pages/Content as orphaned which UIDs aren't inside the tree.


Related issues

Related to TYPO3 Core - Task #60249: Publishing delete placeholder affects different workspaces as wellClosedOliver Hader2014-07-10

Actions
Related to TYPO3 Core - Bug #92139: Command 'cleanup:versions --action=unused_placeholders' deletes too many recordsClosed2020-08-31

Actions
#1

Updated by Alexander Opitz about 6 years ago

  • Category set to Backend API
  • Status changed from New to In Progress
  • Assignee set to Alexander Opitz
#2

Updated by Alexander Opitz about 6 years ago

  • Target version set to 6.2.15
  • Is Regression changed from No to Yes

In #60249 the handling of BackendUtility::selectVersionsOfRecord was changed.

#3

Updated by Gerrit Code Review about 6 years ago

  • Status changed from In Progress 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 http://review.typo3.org/42720

#4

Updated by Gerrit Code Review about 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 http://review.typo3.org/42720

#5

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 http://review.typo3.org/42720

#6

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 http://review.typo3.org/42720

#7

Updated by Alexander Opitz about 6 years ago

  • Sprint Focus set to Stabilization Sprint
#8

Updated by Alexander Opitz about 6 years ago

  • Target version changed from 6.2.15 to 6.2.16
#9

Updated by Alexander Opitz about 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#10

Updated by Gerrit Code Review about 6 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43160

#11

Updated by Alexander Opitz about 6 years ago

  • Status changed from Under Review to Resolved
#12

Updated by Riccardo De Contardi almost 4 years ago

  • Status changed from Resolved to Closed
#13

Updated by Christian Kuhn about 1 year ago

  • Related to Bug #92139: Command 'cleanup:versions --action=unused_placeholders' deletes too many records added

Also available in: Atom PDF