Skip to content

Latest commit

 

History

History
20 lines (20 loc) · 1.24 KB

2021-07-28-added-import-dry-runs-and-rollback-on-error-in-cli.md

File metadata and controls

20 lines (20 loc) · 1.24 KB
title issue author author_email author_github
Added import dry runs and rollback on error in CLI
NEXT-16187
d.neustadt
d.neustadt@shopware.com
dneustadt

Core

  • Added option for import:entity CLI command to print potential errors after import
  • Added option for import:entity CLI command to do a complete rollback of all previous transitions if import contained errors
  • Changed ImportExportService to be able to set up a dry run import, doing a rollback of all transitions regardless of errors
  • Added option for import:entity CLI command to do a dry run import
  • Added WriteCommandExceptionEvent dispatched in EntityWriteGateway when execution of write commands throws exception
  • Added erroneous boolean property to WriteCommand to markup the specific write command having thrown an exception
  • Added result field to ImportExportLogDefinition containing the results of the import in form of numeric representations of sucessfull, erroneous or skipped insert/update statements for each entity

Administration

  • Added button to start import dry run
  • Added label in import activity log signifying if log belong to a dry run
  • Added context menu entry and modal to display results table of a previous import from activity log