Skip to content

The deleted entity is restored during import JSON #3290

@rusiaikinat

Description

@rusiaikinat

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions