Firefox extension cannot save new passwords

Any ideas?

Firefox 60.0
Firefox Passwords extension 1.5.0
NextCloud 13.0.2
NextCloud Passwords 2018.5.1

Error in NextCloud logs :slight_smile:

Error	index	ArgumentCountError: Too few arguments to function OCA\Passwords\Services\Object \PasswordRevisionService::create(), 13 passed in /var/www/nextcloud/apps/passwords/lib/Controller/Api/Legacy/LegacyPasswordApiController.php on line 162 and exactly 14 expected

/var/www/nextcloud/apps/passwords/lib/Controller/Api/Legacy/LegacyPasswordApiController.php - line 162: OCA\Passwords\Services\Object\PasswordRevisionService->create('ff22255e-2a40-4...', 'xxx', 'gcotnoir', 'none', '', 'gcotnoir@git.md...', 'https //git.mdn...', '', '00000000-0000-0...', '1526000974', 0, false, false)
[internal function] OCA\Passwords\Controller\Api\Legacy\LegacyPasswordApiController->create('xxx', 'gcotnoir', 'https //git.mdn...', NULL, NULL)
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 161: call_user_func_array(Array, Array)
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 91: OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Passwords\Controller\Api\Legacy\LegacyPasswordApiController), 'create')
/var/www/nextcloud/lib/private/AppFramework/App.php - line 115: OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Passwords\Controller\Api\Legacy\LegacyPasswordApiController), 'create')
/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47: OC\AppFramework\App main('LegacyPasswordA...', 'create', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
[internal function] OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)
/var/www/nextcloud/lib/private/Route/Router.php - line 297: call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)
/var/www/nextcloud/lib/base.php - line 999: OC\Route\Router->match('/apps/passwords...')
/var/www/nextcloud/index.php - line 37: OC handleRequest()
{main}

There is a bug in the api used by the browser plugin which causes this issue. I have created an issue on GitHub to track this. A nightly with a bugfix is available and the stable version 2018.5.2 will solve this.

1 Like

Update 2018.5.2 fixed the issue. Thank you!

1 Like