Project

General

Profile

Actions

Bug #20758

closed

t3ver_stage will not be resetted when t3ver_stage was >0 before

Added by Fabrizio Branca over 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-07-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Problem:
The field t3ver_stage contains workflow information for versionable records. -1 is "rejected", 0 is "edited", 1 is "ready for review", 10 is "reviewed/ready for publish".
If a record will be edited the stage will be only resetted to 0 if it was rejected (-1) before. If a record is in stage 1 or even 10 it should be resetted to 0 too when being edited. If not the publisher would publish an edited version, that wasn't re-reviewed, which should not be possible in a workflow scenario.

Solution:
Reset t3ver_stage in t3lib_TCEmain::process_datamap() in any case and not only if t3ver_stage was <0 before

(issue imported from #M11539)


Files

11539.patch (1.41 KB) 11539.patch Administrator Admin, 2009-07-15 10:02
Actions #1

Updated by Rupert Germann over 15 years ago

committed to trunk rev 5762

Actions

Also available in: Atom PDF