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
Please use the 👍 reaction to show that you are affected by the same issue.
Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
Subscribe to receive notifications on status change and new comments.
Steps to reproduce
Opening a vault using the correct credentials
I see an empty vault (this is correct, I haven't added any passwords)
Going to the Settings (Don't know the exact translation, it is "Einstellungen" in german)
in common settings tab ("Allgemeine Einstellungen" in german), section delete vault ("Tresor löschen"), I enter my password again, set the check box to confirm the deletion of all passwords and hitting the button to execute the deletion
Expected behaviour
I would have expected a confirmation and the vault should be deleted.
Actual behaviour
Nothing happens, the vault still exists.
Server configuration
Web server: Apache
Database: Maria
PHP version: 8.3 (but same behavior with previous installed 8.1)
Nextcloud version: 30.0.4
Nextcloud log /nextcloud.log
{"reqId":"ki3aqL0gcPtE3yYWseRe","level":3,"time":"2024-12-30T08:10:32+00:00","remoteAddr":"192.168.1.2","user":"daniel","app":"index","method":"DELETE","url":"/nextcloud/index.php/apps/passman/api/v2/vaults/C460523D-6EDE-4681-8701-A1B69035D166","message":"OC\\DB\\QueryBuilder\\QueryBuilder::prefixTableName(): Argument #1 ($table) must be of type string, null given, called in /var/www/html/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php on line 1335 in file '/var/www/html/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php' line 1345","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0","version":"30.0.4.1","exception":
{"Exception":"Exception","Message":"OC\\DB\\QueryBuilder\\QueryBuilder::prefixTableName(): Argument #1 ($table) must be of type string, null given, called in /var/www/html/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php on line 1335 in file '/var/www/html/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php' line 1345","Code":0,"Trace":[
{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},
{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},
{"file":"/var/www/html/nextcloud/lib/base.php","line":1003,"function":"match","class":"OC\\Route\\Router","type":"->"},
{"file":"/var/www/html/nextcloud/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":146,"Previous":
{"Exception":"TypeError","Message":"OC\\DB\\QueryBuilder\\QueryBuilder::prefixTableName(): Argument #1 ($table) must be of type string, null given, called in /var/www/html/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php on line 1335","Code":0,"Trace":[
{"file":"/var/www/html/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":1335,"function":"prefixTableName","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},
{"file":"/var/www/html/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":623,"function":"getTableName","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},
{"file":"/var/www/html/nextcloud/apps/passman/lib/Service/NotificationService.php","line":117,"function":"delete","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},
{"file":"/var/www/html/nextcloud/apps/passman/lib/Service/CredentialService.php","line":124,"function":"deleteNotificationsOfCredential","class":"OCA\\Passman\\Service\\NotificationService","type":"->"},
{"file":"/var/www/html/nextcloud/apps/passman/lib/Controller/VaultController.php","line":175,"function":"deleteCredentialParts","class":"OCA\\Passman\\Service\\CredentialService","type":"->"},
{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":208,"function":"delete","class":"OCA\\Passman\\Controller\\VaultController","type":"->"},
{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},
{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},
{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},
{"file":"/var/www/html/nextcloud/lib/base.php","line":1003,"function":"match","class":"OC\\Route\\Router","type":"->"},
{"file":"/var/www/html/nextcloud/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","Line":1345
},"message":"OC\\DB\\QueryBuilder\\QueryBuilder::prefixTableName(): Argument #1 ($table) must be of type string, null given, called in /var/www/html/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php on line 1335 in file '/var/www/html/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php' line 1345","exception":{},"CustomMessage":"OC\\DB\\QueryBuilder\\QueryBuilder::prefixTableName(): Argument #1 ($table) must be of type string, null given, called in /var/www/html/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php on line 1335 in file '/var/www/html/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php' line 1345"
}
}
Seems like a bug indeed, didnt test that one for a long time.
Is it possible to delete the vault via the request destruction procedure?
Home -> Select Vault -> Forgot Password -> Ask for vault Destruction? And then (as Admin) User icon -> Admin Settings -> (at the bottom) Additional Settings -> Passman -> Vault Destruction Requests?
Thank you! Yes, this works for me as a workaround.
Does the error in the nextcloud.log (see above) matter? Or do I not need to pay any further attention to this?
Thanks for the report, I was able to reproduce the bug.
The exception in the nextcloud.log you noticed, is indeed the error produced by this bug.
I'll try to look a bit deeper into it the next days.
How to use GitHub
Steps to reproduce
Expected behaviour
I would have expected a confirmation and the vault should be deleted.
Actual behaviour
Nothing happens, the vault still exists.
Server configuration
Web server: Apache
Database: Maria
PHP version: 8.3 (but same behavior with previous installed 8.1)
Nextcloud version: 30.0.4
Nextcloud log /nextcloud.log
List of activated apps
Nextcloud configuration
Browser
Browser name: Firefox
Browser version: 133.0.3 (64-Bit)
Operating system: Ubuntu 24.04.1 LTS
The text was updated successfully, but these errors were encountered: