You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Szymon Orzechowski (Jira)" <ji...@apache.org> on 2023/07/25 21:04:00 UTC
[jira] [Resolved] (ATLAS-4775) Cannot remove classification from a deleted entity in webui
[ https://issues.apache.org/jira/browse/ATLAS-4775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Szymon Orzechowski resolved ATLAS-4775.
---------------------------------------
Resolution: Invalid
Reading further into this, it seems it is desired behaviour. Therefore this issue is invalid
> Cannot remove classification from a deleted entity in webui
> -----------------------------------------------------------
>
> Key: ATLAS-4775
> URL: https://issues.apache.org/jira/browse/ATLAS-4775
> Project: Atlas
> Issue Type: Bug
> Components: atlas-webui
> Affects Versions: 3.0.0
> Reporter: Szymon Orzechowski
> Priority: Major
> Attachments: image-2023-07-20-01-00-45-029.png
>
>
> As of now, there is no way of removing classification from deleted entity in webui. Because of that classifications that are attached to deleted entities also cannot be removed.
> Steps to reproduce:
> # Create Entity
> # Create Classification
> # Attach Classification from 2. to Entity from 1.
> # Delete entity using endpoint DELETE /v2/entity/guid/\{guid}
> # Trying to remove Classification yields an error
> Workaround:
> * Classification can be removed from Entity via REST, DELETE /v2/entity/guid/\{guid}/classification/\{classificationName}
>
> !image-2023-07-20-01-00-45-029.png!
>
> This bug can occur when using HiveHook with Atlas.
> Simple case:
> # Table is created and entity metadata is transferred to Atlas
> # Classification gets attached
> # Table gets deleted and HiveHook sends event to mark entity as deleted
> A very simple solution would be to add (x) button next to classification such is present in deleted entity.
> This issue doesn't exist with terms and glossaries because when glossary/term gets deleted it also is removed from each entity.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)