Error displaying Protocol records #5

Closed
opened 2025-05-26 11:03:38 +00:00 by jsheunis · 4 comments
Owner

When clicking on Protocol in the sidebar:

Uncaught (in promise) TypeError: textIRI is null
    setup TextOrLinkViewer.vue:31
    createHook runtime-core.esm-bundler.js:2818
    callWithErrorHandling runtime-core.esm-bundler.js:199
    callWithAsyncErrorHandling runtime-core.esm-bundler.js:206
    __weh runtime-core.esm-bundler.js:2798
    invokeArrayFns shared.esm-bundler.js:86
    componentUpdateFn runtime-core.esm-bundler.js:5277
    run reactivity.esm-bundler.js:237
    setupRenderEffect runtime-core.esm-bundler.js:5457
    mountComponent runtime-core.esm-bundler.js:5232
TextOrLinkViewer.vue:31:12
When clicking on `Protocol` in the sidebar: ``` Uncaught (in promise) TypeError: textIRI is null setup TextOrLinkViewer.vue:31 createHook runtime-core.esm-bundler.js:2818 callWithErrorHandling runtime-core.esm-bundler.js:199 callWithAsyncErrorHandling runtime-core.esm-bundler.js:206 __weh runtime-core.esm-bundler.js:2798 invokeArrayFns shared.esm-bundler.js:86 componentUpdateFn runtime-core.esm-bundler.js:5277 run reactivity.esm-bundler.js:237 setupRenderEffect runtime-core.esm-bundler.js:5457 mountComponent runtime-core.esm-bundler.js:5232 TextOrLinkViewer.vue:31:12 ```
Owner

Confirmed.

Confirmed.
Author
Owner

This happens because the node has a property with an empty string as value. Specifically, the quad:

"http://www.w3.org/2004/02/skos/core#exactMatch": [
        {
          "termType": "Literal",
          "value": "",
          "language": "",
          "datatype": {
            "termType": "NamedNode",
            "value": "http://www.w3.org/2001/XMLSchema#anyURI"
          }
        }
      ],

I can update the code to handle this.

This happens because the node has a property with an empty string as value. Specifically, the quad: ``` "http://www.w3.org/2004/02/skos/core#exactMatch": [ { "termType": "Literal", "value": "", "language": "", "datatype": { "termType": "NamedNode", "value": "http://www.w3.org/2001/XMLSchema#anyURI" } } ], ``` I can update the code to handle this.
Author
Owner

This is now fixed in shacl-vue main: https://github.com/psychoinformatics-de/shacl-vue/pull/128

This is now fixed in `shacl-vue` main: https://github.com/psychoinformatics-de/shacl-vue/pull/128
Owner

Confirmed fixed.

Confirmed fixed.
mih closed this issue 2025-06-04 04:42:51 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
inm7/annotate.inm7.de-data#5
No description provided.