Review 9.5 Merged

62463Revert "[BUGFIX] Set tasks backend:lock & backend:unlock as not schedulable"

Benjamin Franzke CR +2 V +2 Easy +2 −4 updated 12/06/19, 12:31

Commit message

This reverts commit 26c9a8e32637d506249989318941c923171b7658.

The schedulers *primary* task is to *schedule* tasks, not to execute them
from the backend. The backend-execution is only an additional
functionality, which is available because it's sometime handy for manual
tasks/testing.

We shouldn't mark commands as non-schedulable when scheduling them is a
perectly valid usecase.
Usecases for scheduling backend locks are:
* Planned maintenance locks:
  schedule a backend lock for a planned update or migration where you
  agreed to stop editing as of a certain date.
* Regular edit-locks, e.g.:
  schedule a backend lock for let's say every friday as of 8pm
  schedule backend unlock on mondays at 8am.

The reverted patch tried to fix the situation where the lock task was
executed from the backend scheduler overview. If we'd want to fix that,
the proper fix would be to add another property which states that this
command must not be executed from the backend.

Review

  • Code review CR +2 Done
    • Benjamin Franzke +2
  • Verified V +2 Done
    • Benjamin Franzke +2
    • TYPO3com +1 CI

Issues 1

Files 1

Review log 34

  1. Benjamin Franzke commented on patch set 1 12/06/19, 11:40

    Cherry Picked from branch master.
  2. TYPO3com voted on patch set 1 V +1 12/06/19, 11:51 Completed build in 10m 12s on Fri, 6 Dec, 11:51 AM Test Summary: 71804 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC95-1678

  3. Benjamin Franzke voted on patch set 1 V +2 CR +2 12/06/19, 12:31

  4. Benjamin Franzke merged patch set 2 12/06/19, 12:31