fides
fides copied to clipboard
Data Category Visualization endpoint isn't working
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
- Start the webserver
- 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
this might actually get fixed by #350 , as it changes how the upsert behaviour works
this endpoint no longer exists