Actions
Bug #3975
closedUncaught JavaScript exception for server filtered WSuggestionPopups
Start date:
04/10/2015
Due date:
% Done:
0%
Estimated time:
Description
For server filtered WSuggestionPopups, if the user types in a valid entry and hits the enter key really quickly, it occasionally causes a uncaught (client side) JavaScript exception, which ends the user session.
The problem manifests in the refilter function in WSuggestionPopup.js. The 'edit' variable will sometimes be undefined, causing an exception when edit.value is accessed.
The attached main.cpp is a minimal example that reproduces this behavior. It also contains a (commented out) work-around so that if this condition does happen, it at least wont end the users session; it works by essentially wrapping the refilter JS function in a try/catch.
Files
Updated by Koen Deforche over 9 years ago
- Status changed from New to InProgress
- Assignee set to Benoit Daccache
Updated by Benoit Daccache over 9 years ago
- Status changed from InProgress to Resolved
Updated by Koen Deforche about 9 years ago
- Status changed from Resolved to Closed
Actions