cuba icon indicating copy to clipboard operation
cuba copied to clipboard

The deleted entity is restored during import JSON

Open rusiaikinat opened this issue 2 years ago • 0 comments

Environment

CUBA Platform version: 7.2-SNAPSHOT CUBA Studio plugin version: 15.10-213 IntelliJ version: IntelliJ IDEA 2022.2.3 (Community Edition)

Description of the bug

The deleted entity is restored during import json

TC

  1. run project customers.zip
  2. Open Entity inspector Set Entity Type = Customer
  3. Click "Import" file: Customer (new + del str).json

AR: Entity 32550248-6bef-c5dc-a6ac-19ab225ea6cb has been restored. Item appeared in the list of addresses. Attribute deleteTs was not restored. image

ER : The entity instance must be restored with all attributes

json file.zip Contains:

  1. Customer (new).json - unaltered list
  2. Customer (new + del str).json - the file contains the deleted entity Address

rusiaikinat avatar Nov 09 '22 09:11 rusiaikinat