Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The deleted entity is restored during import JSON #3290

Open
rusiaikinat opened this issue Nov 9, 2022 · 0 comments
Open

The deleted entity is restored during import JSON #3290

rusiaikinat opened this issue Nov 9, 2022 · 0 comments
Labels
type: bug Something isn't working

Comments

@rusiaikinat
Copy link

rusiaikinat commented Nov 9, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant