Thread Details

 Color coding ignores Escape Character notation


Post by Bradley Tompkins
Joined 1/25/2021
Posted 2/18/2021 4:55 PM

This is a minor issue but since everything else works so great, I thought you might want to know.

When including an escape character in a query, the color scheme gets messed up for everything following.
in this example, we want to exclude accounts with the MFG_Rep_Name__c = O'Connor -- that requires an escape sequence: O\'C%

The UI treats this like a regular text single-quote.  All subsequent coloring is off.  The query DOES still work. 

((ACCOUNT.MFG_Rep_Name__c LIKE 'o\'C%' or
--ACCOUNT.MFG_Rep_Name__c LIKE 'Frank%' ) OR
--(ACCOUNT.MFG_Rep_Name__c LIKE 'Fjm%' ) OR
--(ACCOUNT.MFG_Rep_Name__c LIKE 'Loving%' ) OR
--(ACCOUNT.MFG_Rep_Name__c LIKE 'RepNet%' ) OR

Expected:
((ACCOUNT.MFG_Rep_Name__c LIKE 'o\'C%' or
--ACCOUNT.MFG_Rep_Name__c LIKE 'Frank%' ) OR
--(ACCOUNT.MFG_Rep_Name__c LIKE 'Fjm%' ) OR
--(ACCOUNT.MFG_Rep_Name__c LIKE 'Loving%' ) OR
--(ACCOUNT.MFG_Rep_Name__c LIKE 'RepNet%' ) OR
Post by Administrator
Visual Software Systems
Joined 1/01/2016
Posted 2/18/2021 8:43 PM

Thanks for letting us know, Bradley.  We'll take a look at it.

Post by Administrator
Visual Software Systems
Joined 1/01/2016
Posted 2/19/2021 9:34 PM

We've corrected the issue.  The fix is included in the next release, due out in March.

Post by Administrator
Visual Software Systems
Joined 1/01/2016
Solved
Posted 3/15/2021 6:23 PM

This issue has been resolved in SOQL Studio 2021.1.290, released Monday, 3/15/2021

Log in to reply to this post.