-
Notifications
You must be signed in to change notification settings - Fork 113
Description
Bug report
Steps to reproduce
- After Update to Nextcloud Hub 4 (26.0.3) and fixing [SOLVED] Passman 2.4.6 update #789 many errors in NC-Log
- Exporting passwords to CSV file.
- The CSV is created, but it may contain errors / not all data.
Expected behaviour
No errors in NC-Logfile.
Actual behaviour
See copy of NC log output below.
Configuration
Passman version:
2.4.6
Operating system:
Ubuntu 22.04.2 LTS (GNU/Linux 5.15.0-75-generic x86_64)
Web server:
nginx/1.25.1
Database:
mysql 10.8.8
PHP version:
Version: 8.1.13
cloud server: Nextcloud or ownCloud
Nextcloud
cloud version: (see admin page or version.php)
26.0.3
Browser log
Export gestartet
Anmeldeinformationen werden entschlüsselt
Fehler beim Entschlüsseln mittels = Error while decrypting using....
..... Error shows up 50 times
Fertig.
Cloud log
Cloud log
[index] Fehler: Exception: OCA\Passman\Service\FileService::getFile(): Argument #1 ($fileId) must be of type int, string given, called in /var/www/nextcloud/apps/passman/lib/Controller/FileController.php on line 62 in file '/var/www/nextcloud/apps/passman/lib/Service/FileService.php' line 57 at <<closure>>
0. /var/www/nextcloud/lib/private/AppFramework/App.php line 183
OC\AppFramework\Http\Dispatcher->dispatch()
1. /var/www/nextcloud/lib/private/Route/Router.php line 315
OC\AppFramework\App::main()
4. /var/www/nextcloud/lib/base.php line 1060
OC\Route\Router->match()
5. /var/www/nextcloud/index.php line 36
OC::handleRequest()
Caused by:
TypeError: OCA\Passman\Service\FileService::getFile(): Argument #1 ($fileId) must be of type int, string given, called in /var/www/nextcloud/apps/passman/lib/Controller/FileController.php on line 62 at <<closure>>
0. /var/www/nextcloud/apps/passman/lib/Controller/FileController.php line 62
OCA\Passman\Service\FileService->getFile()
1. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 230
OCA\Passman\Controller\FileController->getFile()
2. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 137
OC\AppFramework\Http\Dispatcher->executeController()
3. /var/www/nextcloud/lib/private/AppFramework/App.php line 183
OC\AppFramework\Http\Dispatcher->dispatch()
6. /var/www/nextcloud/lib/private/Route/Router.php line 315
OC\AppFramework\App::main()
7. /var/www/nextcloud/lib/base.php line 1060
OC\Route\Router->match()
8. /var/www/nextcloud/index.php line 36
OC::handleRequest()
GET /apps/passman/api/v2/file/undefined
from 10.8.2.100 by *username* at 2023-06-27T10:54:46+02:00
Feature request
User type: Logged-in or public user
User level: Beginners, intermediate or advanced
Description
Benefit / value
Risk / caveats
Sponsorship
Are you a developer willing to implement this feature?: yes/no
No
Can you sponsor the development of this feature or do you know someone who can?: yes/no
PP donnation € 50.- of today to this great project.