Closed MattDHill closed 8 months ago
Please make a clear and concise description of what the bug is.
Should display
On screen error shows Error from Nextcloud server: Reading notes from filesystem has failed. (Error)
Error from Nextcloud server: Reading notes from filesystem has failed. (Error)
Logs display
Error index TypeError: OCA\Notes\Controller\NotesController::__construct(): Argument #10 ($userId) must be of type string, null given <<closure>> OCA\Notes\Controller\NotesController->__construct("notes", [ "OC\\AppFr ... "], [ "OCA\\Note ... "], [ "OC\\Files ... "], [ "OCA\\Note ... "], [ "OCA\\Note ... ]], [ "OC\\AllConfig"], [ "OC\\L10N\\LazyL10N"], [ "OC\\Files\\Type\\Detection"], null) /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php - line 108: ReflectionClass->newInstanceArgs([ "notes",[ ... "]) /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php - line 116: OC\AppFramework\Utility\SimpleContainer->buildClass([ "Reflectio ... "]) /var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php - line 133: OC\AppFramework\Utility\SimpleContainer->resolve("OCA\\Notes\ ... r") /var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php - line 466: OC\AppFramework\Utility\SimpleContainer->query("OCA\\Notes\ ... r") /var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php - line 438: OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback("OCA\\Notes\ ... r") /var/www/html/lib/private/AppFramework/App.php - line 159: OC\AppFramework\DependencyInjection\DIContainer->query("OCA\\Notes\ ... r") /var/www/html/lib/private/Route/Router.php - line 298: OC\AppFramework\App::main("OCA\\Notes\ ... r", "get", [ "OC\\AppFr ... "], [ "1087","notes.notes.get"]) /var/www/html/lib/base.php - line 1047: OC\Route\Router->match("/apps/notes/notes/1087") /var/www/html/index.php - line 36: OC::handleRequest()
And
Error notes Error: Undefined constant OCP\Share\IShare::TYPE_SCIENCEMESH /var/www/html/custom_apps/notes/lib/Service/Note.php - line 109: OCA\Notes\Service\NoteUtil->getShareTypes([ "OC\\Files\\Node\\File"]) /var/www/html/custom_apps/notes/lib/Controller/Helper.php - line 62: OCA\Notes\Service\Note->getData([ "etag","content"]) /var/www/html/custom_apps/notes/lib/Controller/Helper.php - line 114: OCA\Notes\Controller\Helper->getNoteData([ "OCA\\Notes\\Service\\Note"], [ "etag","content"], [ "OCA\\Notes\\Db\\Meta",8676]) <<closure>> OCA\Notes\Controller\Helper->OCA\Notes\Controller\{closure}("*** sensiti ... *") /var/www/html/custom_apps/notes/lib/Controller/Helper.php - line 113: array_map([ "Closure"], [ "*** sensi ... "]) /var/www/html/custom_apps/notes/lib/Controller/NotesController.php - line 71: OCA\Notes\Controller\Helper->getNotesAndCategories(0, [ "etag","content"]) /var/www/html/custom_apps/notes/lib/Service/Util.php - line 26: OCA\Notes\Controller\NotesController->OCA\Notes\Controller\{closure}("*** sensiti ... *") /var/www/html/custom_apps/notes/lib/Controller/Helper.php - line 140: OCA\Notes\Service\Util::retryIfLocked([ "Closure"]) /var/www/html/custom_apps/notes/lib/Controller/NotesController.php - line 97: OCA\Notes\Controller\Helper->handleErrorResponse([ "Closure"]) /var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 225: OCA\Notes\Controller\NotesController->index(0) /var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 133: OC\AppFramework\Http\Dispatcher->executeController([ "OCA\\Note ... "], "index") /var/www/html/lib/private/AppFramework/App.php - line 172: OC\AppFramework\Http\Dispatcher->dispatch([ "OCA\\Note ... "], "index") /var/www/html/lib/private/Route/Router.php - line 298: OC\AppFramework\App::main("OCA\\Notes\ ... r", "index", [ "OC\\AppFr ... "], [ "notes.notes.index"]) /var/www/html/lib/base.php - line 1047: OC\Route\Router->match("/apps/notes/notes") /var/www/html/index.php - line 36: OC::handleRequest()
Please complete the following information.
Nextcloud configuration:
Add relevant parts of your nextcloud.log and/or your browser's JavaScript console here.
nextcloud.log
Duplicate of #1177
Please make a clear and concise description of what the bug is.
Steps to reproduce
Expected behaviour
Should display
Actual behaviour
On screen error shows
Error from Nextcloud server: Reading notes from filesystem has failed. (Error)
Logs display
And
Screenshots
Server
Please complete the following information.
Nextcloud configuration:
Client
Please complete the following information.
Log files
Add relevant parts of your
nextcloud.log
and/or your browser's JavaScript console here.