Actions
Bug #20758
closedt3ver_stage will not be resetted when t3ver_stage was >0 before
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
Actions