Details
-
Sub-task
-
Resolution: Fixed
-
High
-
None
-
None
Description
During discarding the draft, the status checks are performed (https://github.com/ezsystems/ezpublish-legacy-ee/blob/master/kernel/content/removeeditversion.php#L32) before the transaction begins. This means that if this version is published in the meantime (or archived, basically any status change) then during the transaction it will be removed, which leads to inconsistencies (no published version).