Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

searchBox not available #430

Open
Irillit opened this issue Dec 27, 2018 · 2 comments
Open

searchBox not available #430

Irillit opened this issue Dec 27, 2018 · 2 comments

Comments

@Irillit
Copy link

Irillit commented Dec 27, 2018

I upgraded my Nextcloud from 13.0.4 to 14.0.4 on both production and test environments.
After upgrading test server to Nextcloud 15, also found there.
Operating system: Centos 7.5
Full text search version: 1.1.0
Full text search - Elasticsearch Platform version: 1.0.2
Full text search - Files: 1.1.1

After that each time I enable FullTextSearch app I see the following error in browser console:

 Uncaught Error: searchBox not available                 search.js?v=059cb2f7:61
    at Search.initialize (search.js?v=059cb2f7:61)
    at new Search (search.js?v=059cb2f7:37)
    at Search.initialize (searchprovider.js?v=059cb2f7:384)
    at new Search (searchprovider.js?v=059cb2f7:34)
    at HTMLDivElement.<anonymous> (searchprovider.js?v=059cb2f7:422)
    at Function.each (core.js?v=059cb2f7:2)
    at a.fn.init.each (core.js?v=059cb2f7:2)
    at Object.<anonymous> (core.js?v=059cb2f7:4)
    at j (core.js?v=059cb2f7:2)
    at Object.fireWith (core.js?v=059cb2f7:2)

Has any textbox been renamed in 14.0.4?

Thanks.

@Irillit
Copy link
Author

Irillit commented Jan 4, 2019

I found it happens because 'searchbox' element is default for a search. Fulltextsearch replaces 'searchbox' element with 'fulltextsearch' when user is browsing files. Script core/search/js/search.js has references to 'searchbox' and generates the following error in browser console. However, 'searchbox' still appear when administrator opens Apps page and search.js still might be useful.

@Tab3r
Copy link

Tab3r commented Mar 21, 2019

Same problem here... and some interface icons are not shown. When i disable the plugin, all works fine.

Operating system: Ubuntu 18.04
Nextcloud: 14.0.4
Full text search version: 1.1.1
Full text search - Elasticsearch Platform version: 1.0.3
Full text search - Files: 1.1.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants