Review main Abandoned

54521[WIP][BUGFIX] IRRE: Validate record count against actual record divs

Andreas Wolf CR 0 V 0 Normal +50 −15 updated 10/27/18, 14:22

Commit message

When e.g. localizing a record in a container that already contains
records, the new record’s ID is added to the hidden field before the
actual DOM operation takes place. As that operation checks the record
count again, the DOM addition failed because the record limit was
already reached.

The fix is to always use the actual record divs present in the list to
validate the record count. This requires adding some additional data to
these divs, which is also done here. The hidden field, too, is filled
from the uids supplied by these containers now.

Review

  • Code review CR 0

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

  • Verified V 0

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

Issues 1

Files 3