fides icon indicating copy to clipboard operation
fides copied to clipboard

Data Category Visualization endpoint isn't working

Open ThomasLaPiana opened this issue 3 years ago • 1 comments
trafficstars

Bug Description

going to something like http://localhost:8080/data_category/visualize/graphs returns a 500, and the textual representation is also incorrect

Steps to Reproduce

  1. Start the webserver
  2. Go to http://localhost:8080/data_category/visualize/graphs

Expected behavior

Showing the graphs without a 500

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

  • Version:
  • OS:
  • Python Version:
  • Docker Version:

Additional context

This seems to be caused by the parser incorrectly parsing things, as in the textual representation one can see that the top-level fields are not all correct.

update

after some more investigation, it appears that resetting the db fixes the issue. It seems to be related to repeatedly upserting the resources into the database. That being said the primary bug is still most likely in the visualize parsing logic that is expecting things to be in a certain order or something of that nature

ThomasLaPiana avatar Jan 28 '22 16:01 ThomasLaPiana

this might actually get fixed by #350 , as it changes how the upsert behaviour works

ThomasLaPiana avatar Feb 24 '22 18:02 ThomasLaPiana

this endpoint no longer exists

ThomasLaPiana avatar Nov 02 '22 06:11 ThomasLaPiana