Project

General

Profile

Actions

Bug #3004

closed

Recycler: Versioned records are not handled by recycler

Added by Steffen Müller about 15 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Recycler
Target version:
-
Start date:
2009-03-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Records which have been created with versioning are not handled by the recycler.

Steps to reproduce:
- create page
- create a new version of the page
- delete page
- go to recycler module and delete page.
- go to phpmyadmin (or similar) and find the versioned records

The same with pagecontent.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #1834: Recycler: Integrate Lost+Found possibilitesClosed2008-10-26

Actions
Related to TYPO3 Core - Feature #27682: Recycler - Workspace Support including deleted pages in workspaceClosed2011-06-24

Actions
Actions #1

Updated by Chris topher almost 13 years ago

  • Project changed from 147 to TYPO3 Core
Actions #2

Updated by Chris topher almost 13 years ago

  • Subject changed from Versioned records are not handled by recycler to Recycler: Versioned records are not handled by recycler
  • TYPO3 Version set to 4.3
Actions #3

Updated by Alexander Opitz about 11 years ago

  • Status changed from New to Needs Feedback

Can you reproduce this problem with a more recent TYPO3 Version (4.5, 4.7 or 6.0)?

Actions #4

Updated by Steffen Müller about 11 years ago

ATM I don't have a system with versioning at hand. Long time ago :)
I started a new instance from typo3_src-master, but it does not show versioning although sysexts are installed.
Is there anything I have to do to activate versioning in backend?

Actions #5

Updated by Alexander Opitz about 11 years ago

There are two ways:

- Disabling Workspace Extension
- Add a Workspace to get Versions of records.

Actions #6

Updated by Steffen Müller about 11 years ago

I can reproduce with current master rev. 932f1dd

Steps to reproduce:
  • Disable Workspace Extension
  • Create page
  • Create content element on page
  • Create a second version of content element
  • Delete content element in recycler
Result:
  • The second version of content element can be found in the DB
Expected result:
  • Second version is deleted in DB.
OT Sidenote: Versioning without workspaces seems to be broken:
  • Creating versions of pages leads to Fatal PHP Error
  • Switching between versioned content elements denied because of relation problems
    But these issues are not related here and will go into separate issues. It's just a notice to have that in mind when reproducing the original issue.
Actions #7

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Accepted
  • TYPO3 Version changed from 4.3 to 6.1

Ok, thanks for helping.

Actions #8

Updated by Alexander Opitz about 11 years ago

  • Category set to Recycler
  • TYPO3 Version changed from 6.1 to 6.2
Actions #9

Updated by Mathias Schreiber over 9 years ago

  • Target version set to 7 LTS
  • Is Regression set to No
Actions #10

Updated by Riccardo De Contardi over 8 years ago

It is still present.
I tested it on both 6.2.15 and 7.5-dev (latest master), using a page as record to version and delete.

what about a task (in db check?) that cleans up the DB removing the records whose "t3ver_oid" does not match any "uid" ?

Actions #11

Updated by Mathias Schreiber over 8 years ago

  • Target version deleted (7 LTS)
Actions #12

Updated by Riccardo De Contardi over 6 years ago

  • Related to Feature #27682: Recycler - Workspace Support including deleted pages in workspace added
Actions #13

Updated by Benni Mack about 4 years ago

I think this will be solved with this change here: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61699

Actions #14

Updated by Christian Kuhn over 3 years ago

  • Status changed from Accepted to Closed

Indeed, this has been solved with the pid=-1 patch:

  • live: create a page
  • workspace: change that page
  • live: delete page
    -> both live and versioned page record are set deleted=1
  • recycler: shown both pages and both can be fully deleted (removed from db)
Actions

Also available in: Atom PDF