Trying to fill a password field with an entry via the right-click menu or the extension popup UI throws:
TypeError: can't access property "map", entries is undefined index.global.js:17690:7
This appears to be happening at the filter chain inside sortMatchedEntries:
|
const orderedEntries = this.sortMatchedEntries( |
|
matchResult.entries[matchResult.mostRelevantFormIndex] |
|
); |
|
sortMatchedEntries(entries: Entry[]): Entry[] { |
|
return entries |
|
.map(e => new Entry({ ...e })) |
|
.sort((a, b) => b.relevanceScore - a.relevanceScore); |
|
} |
At the call site, matchResult.mostRelevantFormIndex is null and matchResult.entries is [[]], an array of an empty array.
For context, this is a site with separate email and password pages, a JavaScript history transition between the two (as opposed to the email form doing a HTTP submission), and a password field with a random ID each time (which prevents me from teaching Kee to fill it automatically).
As it stands, I have to manually copy the password from the popup UI or KeePass itself and paste it, which is a bit cumbersome.
Versions: KeePass 2.57.1, KeePassRPC 2.0.2.0, Firefox 133.0b6, Kee 4.0.7
Trying to fill a password field with an entry via the right-click menu or the extension popup UI throws:
This appears to be happening at the filter chain inside
sortMatchedEntries:browser-addon/src/page/formFilling.ts
Lines 896 to 898 in 4bd94e2
browser-addon/src/page/formFilling.ts
Lines 1194 to 1198 in 4bd94e2
At the call site,
matchResult.mostRelevantFormIndexisnullandmatchResult.entriesis[[]], an array of an empty array.For context, this is a site with separate email and password pages, a JavaScript history transition between the two (as opposed to the email form doing a HTTP submission), and a password field with a random ID each time (which prevents me from teaching Kee to fill it automatically).
As it stands, I have to manually copy the password from the popup UI or KeePass itself and paste it, which is a bit cumbersome.
Versions: KeePass 2.57.1, KeePassRPC 2.0.2.0, Firefox 133.0b6, Kee 4.0.7