effector-devtools icon indicating copy to clipboard operation
effector-devtools copied to clipboard

Crash on invalid jsonpath provided

Open SQReder opened this issue 2 years ago • 2 comments

Extension crashes when I try to type into xpath field, so I can't complete filter. Minimal reproduce is $.[?(, which is part of $.[?(@.field)]

SQReder avatar May 01 '23 12:05 SQReder

Moreover this value stored somewhere and I can't erase value even after devtools reopen

SQReder avatar May 01 '23 13:05 SQReder

Finally, I managed to get it working again:

  1. Removed the effector-devtools key from local storage
  2. Restarted the extension
  3. Changed the enabled field to true in local storage in effector-devtools

SQReder avatar May 01 '23 13:05 SQReder