Autofill stops after database save
Since a few months i had the problem, that when i save my KeePass Database the autofill function of Kee Browser Add-On stops working until restart of the add-on (toggle on/off) or browser restart. At the moment i save the database, the browser console shows the following message:
TypeError: this.store.state.KeePassDatabases.find(...) is undefined
Firefox: 129.02 KeePass: 2.57 KeePassRPC: 1.x & 2.0.2 Kee Add-On: 3.11.13
I was able to reproduce this problem and managed to track it down to KPSimpleBackup.
Upon saving the database KPSimpleBackup seems to change the database path.
The exception gets thrown here: https://github.com/kee-org/browser-addon/blob/4bd94e2d8fbcf88b7064b09efb0ae986fa4bda16/src/page/formFilling.ts#L756-L758
db.fileName gets set to this weird file:// path while
matchResult.entries[i][v].database.fileName remains the correct/original DB path.
(First line is db.fileName, while the second is the matchResult)
That being said, this seems to be out of scope for the Kee Browser Addon, and rather is a problem with either the RPC plugin or KPSimpleBackup.
I was able to preproduce this problem and managed to track it down to KPSimpleBackup.
I'am too. Sorry, i forgot this Issue here. I switched the Backup Plugin to SimpleDatabaseBackup and the error was gone.
Well it happens with regular sync triggers too. It does not need extra plugins to break Kee or its RPC plugin.
Edit: Created an issue there.
Edit2: But why does it work again, after you disable and re-enable the browser plugin? Are we really sure its the RPC plugin and not just the browser addon?