Add base fields to BatchOpLog to save items to process, and last item processed

Created on 4 June 2024, 5 months ago
Updated 12 June 2024, 5 months ago

Problem/Motivation

The individual log does not currently record either the total number of items that it was supposed to operate on, nor the last item it processed,

Steps to reproduce

Proposed resolution

  • Make basefield 'total_items' on BatchOpLog that on instantiation would record, how many total items there are to process
  • Make basefield 'last_item_processed' on BatchOpLog that would be updated for each log entry.
  • Add a hook_update_n that will modify the storage entries for any installs that pre-dated this issue.
  • Update the table columns that display status on the BatchOperation list and the BatchOperation previous runs so that they used these values to more accurately reflect the runs.

Remaining tasks

User interface changes

Changes to the three lists where status appears

API changes

Data model changes

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States swirt Florida

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024