Open jakubklimek opened 2 weeks ago
Also, the lw-onto button does not work:
1dd3208c-55c29b4bf9b1abb0.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'iri')
at m.writeClass (page-20b97c3e5fca7571.js:1:133558)
at m.generate (page-20b97c3e5fca7571.js:1:132954)
at t.generate (page-20b97c3e5fca7571.js:1:132035)
at onClick (page-20b97c3e5fca7571.js:1:86371)
at Object.aS (1dd3208c-55c29b4bf9b1abb0.js:1:71785)
at aN (1dd3208c-55c29b4bf9b1abb0.js:1:71939)
at 1dd3208c-55c29b4bf9b1abb0.js:1:138600
at sw (1dd3208c-55c29b4bf9b1abb0.js:1:138699)
at sS (1dd3208c-55c29b4bf9b1abb0.js:1:139113)
at 1dd3208c-55c29b4bf9b1abb0.js:1:145256
I've fixed a missing argument to the geenrate
function. It seems that the frontned geenrates the property correctly. Based on a smaller example it seems, that the problem is with the detection of the vocabulary to export.
The relation to export in the example is called "rel1" and is hidden behind the "record"relation.
In this project I have defined an "artefact" relationship:
It is present in the generated documentation:
but it is not present in the generated vocabulary file and therefore is not available for reuse in AP.