Skip to content
Snippets Groups Projects
Commit 2c8235bf authored by Prasad's avatar Prasad
Browse files

Fixed: Allow limited set of characters as reference id - used for filter condition

parent 1bce0cf2
No related branches found
No related tags found
No related merge requests found
Loading
  • Contributor

    In what context is this used @prasad? I have a customer who uses the "&" character quite a lot in text fields, company names, and list filter names etc. Is this going to restrict its use at all?

  • Author Maintainer

    @lord_alan - This does not restrict usage in create/edit. ID values are hardended when it comes from UI. When filter is setup for reference field (ex: Tickets - Organization Name) (text) is usually used.

    Limited set of character is allowed. (condition like starts with, contains can be used)

  • Contributor

    @prasad So let's say there is a company called "A & B Security Ltd". If this Organisation is then a reference field, will filters with some thing like:

    Starts With: "A & B"

    Still be supported?

  • Author Maintainer

    You can use (contains) (B Security Ltd)

  • Contributor

    There are many companies that use not just alpha-numerics in their names (particularly the "&", but probably others too). Also what about other languages where there are all sorts of special characters with circumflex, umlauts, accents etc?

  • Author Maintainer

    You can disable this hardening in such case. Remove check on ID.

    Edited by Prasad
  • Contributor

    Hmm, OK. This may affect a lot of users.

  • Author Maintainer

    Will review if specific fields can be skipped.

  • Author Maintainer

    This commit - b45941ec - now hardens reference field (parent_id) to be keyword allowing safe-label or number. id field will be CRMID or WSID or UUID format.

    thanks @lord_alan for active watch.

    Edited by Prasad
  • Contributor

    👍

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment