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

An error occurred while searching for Collectives - Page Content #492

Closed
kevinkuan1969 opened this issue Jan 7, 2023 · 2 comments · Fixed by #493
Closed

An error occurred while searching for Collectives - Page Content #492

kevinkuan1969 opened this issue Jan 7, 2023 · 2 comments · Fixed by #493
Labels
bug Something isn't working

Comments

@kevinkuan1969
Copy link

Describe the bug
The error message is always appeared when the keyword is entered in Unified Search.
Anyway, the system can return the right result as expected.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Unfired Search and enter the keyword
  2. The error message appears as well as return the right result

Expected behavior
The error message should not be displayed every time the keyword is entered.

Screenshots
image

Client details:
• OS - MS Windows 11
• Browser - MS Edge
• Version 108.0.1462.54 (Official build) (64-bit)
• Device: Desktop

Server details
Operating system: Ubuntu 20.14
Web server:
Database: MySQL 8.0.31
PHP version: 8.1.13
Nextcloud version: 25.0.2

Collectives app version: 2.2.0

Log

Error no app in context Exception: Class "TeamTNT\TNTSearch\TNTSearch" not found in file '/var/www/nextcloud/apps/collectives/lib/Search/FileSearch/FileSearcher.php' line 14/var/www/nextcloud/lib/private/AppFramework/App.php - line 172:OC\AppFramework\Http\Dispatcher->dispatch()/var/www/nextcloud/lib/private/Route/Router.php - line 298:OC\AppFramework\App::main()/var/www/nextcloud/ocs/v1.php - line 63:OC\Route\Router->match()/var/www/nextcloud/ocs/v2.php - line 23:require_once("/var/www/nextcloud/ocs/v1.php")Caused by Error: Class "TeamTNT\TNTSearch\TNTSearch" not found/var/www/nextcloud/lib/composer/composer/ClassLoader.php - line 571:include()/var/www/nextcloud/lib/composer/composer/ClassLoader.php - line 428:Composer\Autoload\includeFile()/var/www/nextcloud/apps/collectives/lib/Service/SearchService.php - line 70:Composer\Autoload\ClassLoader->loadClass()/var/www/nextcloud/apps/collectives/lib/Search/PageContentProvider.php - line 109:OCA\Collectives\Service\SearchService->searchCollective()/var/www/nextcloud/lib/private/Search/SearchComposer.php - line 160:OCA\Collectives\Search\PageContentProvider->search()/var/www/nextcloud/core/Controller/UnifiedSearchController.php - line 105:OC\Search\SearchComposer->search()/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 225:OC\Core\Controller\UnifiedSearchController->search()/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 133:OC\AppFramework\Http\Dispatcher->executeController()/var/www/nextcloud/lib/private/AppFramework/App.php - line 172:OC\AppFramework\Http\Dispatcher->dispatch()/var/www/nextcloud/lib/private/Route/Router.php - line 298:OC\AppFramework\App::main()/var/www/nextcloud/ocs/v1.php - line 63:OC\Route\Router->match()/var/www/nextcloud/ocs/v2.php - line 23:require_once("/var/www/nextcloud/ocs/v1.php")
@kevinkuan1969 kevinkuan1969 added the bug Something isn't working label Jan 7, 2023
@mejo-
Copy link
Member

mejo- commented Jan 8, 2023

Thank for your report @kevinkuan1969. Indeed full-text search is broken in Collectives 2.2.0 due to a bug in the release building script. I will release 2.2.1 with a fix shortly.

mejo- added a commit that referenced this issue Jan 8, 2023
We want to exclude the toplevel `src` directory, but not `src`
directories inside `vendors/`.

Fixes: #492

Signed-off-by: Jonas <jonas@freesources.org>
mejo- added a commit that referenced this issue Jan 8, 2023
We want to exclude the toplevel `src` directory, but not `src`
directories inside `vendors/`.

Fixes: #492

Signed-off-by: Jonas <jonas@freesources.org>
@mejo- mejo- closed this as completed in #493 Jan 8, 2023
@kevinkuan1969
Copy link
Author

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants