You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Attachments no longer opening on iOS app, with error 500.
To Reproduce
Steps to reproduce the behavior:
Open note with attachments.
Expected behavior
Attachments render as expected.
Screenshots
Server details:
Nextcloud version: 27.1.6
PHP Version: 8.2.7
Database: MySQL
Client details:
OS: iOS, NextCloud app 5.2.0.2
Device: iPhone 14
Logs
Nextcloud log (data/nextcloud.log)
[index] Error: Exception: Call to a member function getUID() on null in file '/var/www/html/nextcloud/apps/text/lib/Service/AttachmentService.php' line 434 at <>
/var/www/html/nextcloud/lib/private/AppFramework/App.php line 183
OC\AppFramework\Http\Dispatcher->dispatch()
/var/www/html/nextcloud/lib/private/Route/Router.php line 315
OC\AppFramework\App::main()
/var/www/html/nextcloud/lib/base.php line 1068
OC\Route\Router->match()
/var/www/html/nextcloud/index.php line 38
OC::handleRequest()
Caused by:
Error: Call to a member function getUID() on null at <>
/var/www/html/nextcloud/apps/text/lib/Service/AttachmentService.php line 226
OCA\Text\Service\AttachmentService->getAttachmentDirectoryForFile()
/var/www/html/nextcloud/apps/text/lib/Controller/AttachmentController.php line 101
OCA\Text\Service\AttachmentService->getAttachmentList()
/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 230
OCA\Text\Controller\AttachmentController->getAttachmentList()
/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 137
OC\AppFramework\Http\Dispatcher->executeController()
/var/www/html/nextcloud/lib/private/AppFramework/App.php line 183
OC\AppFramework\Http\Dispatcher->dispatch()
/var/www/html/nextcloud/lib/private/Route/Router.php line 315
OC\AppFramework\App::main()
/var/www/html/nextcloud/lib/base.php line 1068
OC\Route\Router->match()
/var/www/html/nextcloud/index.php line 38
OC::handleRequest()
Describe the bug
Attachments no longer opening on iOS app, with error 500.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Attachments render as expected.
Screenshots
Server details:
Client details:
Logs
Nextcloud log (data/nextcloud.log)
[index] Error: Exception: Call to a member function getUID() on null in file '/var/www/html/nextcloud/apps/text/lib/Service/AttachmentService.php' line 434 at <>
OC\AppFramework\Http\Dispatcher->dispatch()
OC\AppFramework\App::main()
OC\Route\Router->match()
OC::handleRequest()
Caused by:
Error: Call to a member function getUID() on null at <>
OCA\Text\Service\AttachmentService->getAttachmentDirectoryForFile()
OCA\Text\Service\AttachmentService->getAttachmentList()
OCA\Text\Controller\AttachmentController->getAttachmentList()
OC\AppFramework\Http\Dispatcher->executeController()
OC\AppFramework\Http\Dispatcher->dispatch()
OC\AppFramework\App::main()
OC\Route\Router->match()
OC::handleRequest()
POST /index.php/apps/text/attachments
Likely related to the changes from 3 months ago:
https://github.com/nextcloud/text/commits/main/lib/Service/AttachmentService.php
Unsure if client or server issue, hence cross-posting the bug. Apologies if incorrect.
Thanks.
The text was updated successfully, but these errors were encountered: