Skip to content

Bug: Search Using "contains" on Linked Record Throws Errors When Terms Contain Special Characters #1950

@dkindlund

Description

@dkindlund

Describe the bug
Let's say I have two Tables:

  • Table A
  • Table B

Within Record A1 in Table A, I have a link to Record B1 in Table B.

If I'm then in Table A and define a filter using contains on the linked field to Table B and if the contents of the search string contains special characters (like Notepad++), then Teable throws Internal Server Error.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any Table which contains a linked field (to another table).
  2. Click on Filter
  3. Specify where contains Notepad++ (as an example)
  4. See Internal Server Error

Expected behavior
I would expect search using special characters to not throw errors in Teable.

Screenshots

Image Image

Client (please complete the following information):

  • OS: [macOS]
  • Browser [chrome]

Platform (Please tell us which deployment version you are using)
[docker-standalone]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions