Review main Merged

60882[BUGFIX] Discard published drafts of workspaces when not swapping

Benni Mack CR +2 V +2 Hard +2 −738 updated 08/02/19, 15:53

Commit message

When a workspace record is published, the "old", then unused record
has the values:
- workspace-id: 0
- online-id: > 0
- pid: -1

This way, it is not possible to actually find out from which workspace
something was published. This only happens when
not swapping (exchanging data) but doing real "publishing"
from a workspace.

What happens is that the database is filled with obsolete "previously
online" records that have no value anymore.

These records are now deleted, thus, the database is kept
clean. Previously only a CLI command allowed to remove
them, however, they are not needed at all, so the CLI command
is for existing projects that use workspaces in non-swapping mode.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 165

Show 145 more files