Add revision ID and VG Wort counter ID to vgwort_entity_registration

Created on 8 May 2023, over 1 year ago
Updated 9 May 2023, over 1 year ago

Problem/Motivation

It will be useful to know which revision we have used as a basis for the information we've sent to VG Wort - therefore we need to add this info to vgwort_entity_registration

Also we plan to allow users to generate a new counter ID in certain situations (for example if an article is re-authored) so we need to store the coutner ID on the map as well.

Proposed resolution

Add the fields to table and populate it as part of the process. Provide an update path if the table already exists.

Remaining tasks

User interface changes

None

API changes

Added:

  • EntityJobMapper::markSuccessful()
  • EntityJobMapper::addJobToMap()
  • EntityJobMapper::getRevisionsSent()

Removed:

  • EntityJobMapper::merge() (replaced by markSuccessful() and addJobToMap())

Data model changes

New fields in the vgwort_entity_registration table.

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024