Skip to content

Conversation

@mysza
Copy link
Contributor

@mysza mysza commented Sep 27, 2024

Summary

As string variables can be used in comparisons, we must ensure that whitespace before or after the variable value does not distort the comparison result.
For example, long_text custom field always adds \n character at the end of the string, which causes issues when comparing the variable with some known string.

Testing

  • all existing tests ✅
  • added specific test for this fix

@mysza mysza requested a review from a team September 27, 2024 14:02
@mysza mysza merged commit 5928b7f into develop Sep 27, 2024
3 checks passed
@mysza mysza deleted the mike-m/CLK-547306/trim-string-variables branch September 27, 2024 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants