RDFLib / prez

Prez is a data-configurable Linked Data API framework that delivers profiles of Knowledge Graph data according to the Content Negotiation by Profile standard.
BSD 3-Clause "New" or "Revised" License
22 stars 8 forks source link

Regression: client side vocab tree fail to load in UI after v3.8.5 #214

Open edmondchuc opened 6 months ago

edmondchuc commented 6 months ago

This page fails to load: https://gsq-prez.dev.kurrawong.ai/v/vocab/defn:road-suffixes. Others like it (using client side loading of the tree) also fail. This started to occur on v3.8.5.

This is tested on GSQ vocab data. Browser console error:

index-695a5ea1.js:1  TypeError: Cannot read properties of undefined (reading 'value')
    at PropTableView-75162c19.js:1:28063

Looks like vocabs that are using the client side tree loading fails due to change in the backend data response.

The UI works fine on v3.8.4.

The UI version is v3.8.2.

I'm also creating a PR for prez-ui since there should be better error handling for this kind of error.