bad handling of unknown space
if a space (extracted from a DE url) is not found in the config of DE (got through tenants.json), the client sets null/undefined instead of the space which create a wrong request: http://localhost:7000/dataflow/OECD.SDD.NAD/DSD_NASEC20@DF_T7II_Q/1.0?references=all
the backend of DE returns the DE client (fallback handler) which is html and is not properly parsed (JSON is expected):
to reproduce the problem:
- go to any valid DE url in QA
- update the space in the url to something that don't exist
- refresh and see that DE is loading forever
TODO:
-
handle unknown space from client (@j3an-baptiste display an error message warning user that the space is not found?) -
find why JSON parsing doesn't thrown an error when receiving HTML (and why the app stay in a loading state instead of fallbacking to a blue screen)
Edited by Nicolas Briemant