Problems in global search of Skosmos 3.3

6 views
Skip to first unread message

Anderson Soares Ferreira

unread,
Jun 26, 2026, 11:22:47 AM (11 days ago) Jun 26
to Skosmos Users
Hello,

I'm working on a Skosmos 3 installation for the Brazilian 
Agricultural Research Corporation and I'm facing some problems related to the global search component shown in top bar.
When an user type some letters in the search field nothing happens. If after typing the user clicks in the search field, the dropdown list appears, but clicking one of the listed concepts does not open the concept page, as it was expected.
Investigating the problem I notice that the browser's debugger shows the following error for every letter typed in the search field:

Uncaught (in promise) TypeError: can't access property "skos:Concept", window.SKOSMOS.types is undefined
    renderType http://gtermos/resource/js/global-search.js:184
    renderedType http://gtermos/resource/js/global-search.js:238
    VueJS 3
    renderResults http://gtermos/resource/js/global-search.js:238
    VueJS 3
    renderResults http://gtermos/resource/js/global-search.js:204
    search http://gtermos/resource/js/global-search.js:106
    promise callback*search http://gtermos/resource/js/global-search.js:102
    _timerId http://gtermos/resource/js/global-search.js:91
    setTimeout handler*autoComplete http://gtermos/resource/js/global-search.js:91
    VueJS 44

Interestingly, the error only occurs in the global search. Vocabulary search works as expected.
I observed the problem in Skosmos v3.3 and 3.4-dev, using our own container build and also using the container image available in quay.io.
Curiously, I haven't observer the problem when using the Skosmos demo (demo.skosmos.org) installation, what makes me think whether this problem is a bug in Skosmos or some kind of issue in our config.ttl.

Could this behavior be caused by a configuration issue or is this really an application bug?

Best regards,

Anderson


__________________________
Aviso de confidencialidade

Esta mensagem da Empresa  Brasileira de Pesquisa  Agropecuaria (Embrapa), empresa publica federal  regida pelo disposto  na Lei Federal no. 5.851,  de 7 de dezembro de 1972,  e  enviada exclusivamente  a seu destinatario e pode conter informacoes  confidenciais, protegidas  por sigilo profissional.  Sua utilizacao desautorizada  e ilegal e  sujeita o infrator as penas da lei. Se voce  a recebeu indevidamente, queira, por gentileza, reenvia-la ao emitente, esclarecendo o equivoco.

Confidentiality note

This message from Empresa  Brasileira de Pesquisa  Agropecuaria (Embrapa), a government company  established under  Brazilian law (5.851/72), is directed exclusively to  its addressee  and may contain confidential data,  protected under  professional secrecy  rules. Its unauthorized  use is illegal and  may subject the transgressor to the law's penalties. If you are not the addressee, please send it back, elucidating the failure.
Reply all
Reply to author
Forward
0 new messages