Project

General

Profile

Actions

Bug #3975

closed

Uncaught JavaScript exception for server filtered WSuggestionPopups

Added by Will Johnson almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Benoit Daccache
Target version:
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

main.cpp (5.58 KB) main.cpp Will Johnson, 04/10/2015 07:24 PM
Actions #1

Updated by Koen Deforche almost 9 years ago

  • Status changed from New to InProgress
  • Assignee set to Benoit Daccache
Actions #2

Updated by Benoit Daccache almost 9 years ago

  • Status changed from InProgress to Resolved
Actions #3

Updated by Koen Deforche over 8 years ago

  • Status changed from Resolved to Closed
Actions #4

Updated by Koen Deforche over 8 years ago

  • Target version set to 3.3.5
Actions

Also available in: Atom PDF