Review main Merged

72519[TASK] Cover checkbox TCA option eval with tests

Nikita Hovratov CR +2 V +2 Normal +197 −2 updated 12/06/21, 19:38

Commit message

There are two validation rules specific for TCA
type=checkbox:

- maximumRecordsChecked
- maximumRecordsCheckedInPid

These can be set to ensure only a limited amount of
specific checkboxes have been checked system-wide.

They are now covered with tests for live and
workspace context.

Note: Records with another language *do* count to
the total amount. This is probably not a desired
behaviour.

Second note: Values of checkboxes with multiple
items are treated as unique combinations.

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 2

Files 5