nextcloud / nextcloud/fulltextsearch

searchBox not available

Open
#430 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
234
Forks
64
Avg merge
6h 18m
Merged PRs (30d)
10

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The stack trace points to search.js and searchprovider.js; start by reproducing the error after upgrading Nextcloud and inspect where searchBox is expected during Search.initialize. Compare the affected app and platform versions to identify the compatibility issue, then verify that enabling FullTextSearch initializes without the browser-console error.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch, javascript, php
Domain
backend, frontend, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.