Issue Bug Closed

#20758t3ver_stage will not be resetted when t3ver_stage was >0 before

Fabrizio Branca 07/15/09, 10:01 updated 08/06/10, 13:26

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.