HumanSignal / label-studio

Label Studio is a multi-type data labeling and annotation tool with standardized output format
https://labelstud.io
Apache License 2.0
19.17k stars 2.38k forks source link

Using contains filter causes Internal Server Error and LabelStudio must be restarted to come back online #6420

Open skier233 opened 1 month ago

skier233 commented 1 month ago

Describe the bug Using the contains filter with nearly any character ie " will cause labelstudio to crash with an internal server error and it will have to be restarted to restore functionality

To Reproduce Steps to reproduce the behavior:

  1. Filter in the datamanager by Annotation Results Contains "
  2. Internal Server Error Occurs

Expected behavior Normal execution

Screenshots image

Environment (please complete the following information):

Additional context Add any other context about the problem here.

Vikasmalik-st commented 1 week ago

I am getting same error. Can someone help understand the cause and remedy?

skier233 commented 1 week ago

It seems to be bug in label-studio. Currently the only remediation I know of is to not use this functionality and instead use Regex (which is more inconvenient)