OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

Backend: List teams API throwing 404 for soft deleted team even with include=all

Open aniketkatkar97 opened this issue 2 years ago • 1 comments

Affected module Does it impact the UI, backend or Ingestion Framework? Backend

Describe the bug A clear and concise description of what the bug is. List teams API throwing 404 for soft deleted team even with include=all param

To Reproduce

Screenshots or steps to reproduce Soft delete a team and then hit teams list API with filter parent team as the deleted team name and include=all param Screenshot 2022-09-02 at 9 30 58 PM

Expected behavior A clear and concise description of what you expected to happen.

Version:

  • OS: [e.g. iOS]
  • Python version:
  • OpenMetadata version: [e.g. 0.8]
  • OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ]

Additional context Add any other context about the problem here.

aniketkatkar97 avatar Sep 02 '22 16:09 aniketkatkar97

@aniketkatkar97 why are we making calls with included=all in the teams listing page. By default any soft deleted entities shouldn't be shown cc @chirag-madlani

harshach avatar Sep 21 '22 00:09 harshach