You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Joseph Zhang (Jira)" <ji...@apache.org> on 2023/03/21 06:57:00 UTC

[jira] [Commented] (ATLAS-4534) entity was deleted when edit entity by UI

    [ https://issues.apache.org/jira/browse/ATLAS-4534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17703061#comment-17703061 ] 

Joseph Zhang commented on ATLAS-4534:
-------------------------------------

here is workaround.

when we define a COPOSITION relationship, isLegacyAttribute must be set to true for both end.

or else when we edit the container entity, code will validate the children entities and found that children not existing (because legacy attributes is false and not shown at container entity attributes), then code marked container entity as DELETED and save it

> entity was deleted when edit entity by UI
> -----------------------------------------
>
>                 Key: ATLAS-4534
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4534
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Joseph Zhang
>            Priority: Critical
>
> hi all,
> I'm using the atlas version 2.2.0, when I edit entity attribute value by using the edit button on UI, the entity was deleted instead, status change to "DELETED".
> I did not figure out how this happened, the debug info as below. Please help me on this. thanks in advance.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)