OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

Child Glossary Terms have `null` in fullyQualifiedName

Open darth-coder00 opened this issue 4 years ago • 0 comments

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

Describe the bug Child Glossary Terms have null in fullyQualifiedName

API URL:

http://localhost:8585/api/v1/glossaryTerms

Payload:

{
  "name": "Fruits",
  "displayName": "Fruits",
  "description": "taste fruits",
  "reviewers": [],
  "parent": {
    "type": "glossaryTerm",
    "id": "ae6d219a-9dea-4f70-92e4-555b79a5f514"
  },
  "glossary": {
    "id": "141e3d72-0b46-46fe-ab78-72b8b2451450",
    "type": "glossary"
  }
}

Response:

{
  "id": "c351d9c6-b6c2-491a-b142-122c09e008fa",
  "name": "Fruits",
  "displayName": "Fruits",
  "description": "taste fruits",
  "fullyQualifiedName": "null.Fruits",       // In response, fullyQualifiedName has `null` in it
  "synonyms": [],
  "glossary": {
    "id": "141e3d72-0b46-46fe-ab78-72b8b2451450",
    "type": "glossary",
    "name": "BusinessGlossary",
    "fullyQualifiedName": "BusinessGlossary",
    "description": "test",
    "displayName": "BusinessGlossary",
    "deleted": false,
    "href": "http://localhost:8585/api/v1/glossaries/141e3d72-0b46-46fe-ab78-72b8b2451450"
  },
  "parent": {
    "id": "ae6d219a-9dea-4f70-92e4-555b79a5f514",
    "type": "glossaryTerm",
    "href": "http://localhost:8585/api/v1/glossaryTerms/ae6d219a-9dea-4f70-92e4-555b79a5f514"
  },
  "references": [],
  "version": 0.1,
  "updatedAt": 1653044089174,
  "updatedBy": "anonymous",
  "href": "http://localhost:8585/api/v1/glossaryTerms/c351d9c6-b6c2-491a-b142-122c09e008fa",
  "reviewers": [],
  "status": "Draft",
  "deleted": false
}

To Reproduce

https://user-images.githubusercontent.com/86726556/169516054-87bd8248-e445-4a14-ba20-cebd26591c30.mov

Expected behavior In response, fullyQualifiedName should not have null in it.

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 NA

darth-coder00 avatar May 20 '22 11:05 darth-coder00