You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling .toString() on a SOQL instance with a FilterGroup leads to a System.StringException when query is executed. We're using .toString() in a logging class to log the query before executing it. It's not clear if doing .toString() before executing is unsupported behavior or if this is a bug.
Steps to reproduce
Run the following query after replacing the Account name and id with an existing Account name and id.
Calling
.toString()
on a SOQL instance with a FilterGroup leads to aSystem.StringException
when query is executed. We're using.toString()
in a logging class to log the query before executing it. It's not clear if doing.toString()
before executing is unsupported behavior or if this is a bug.Steps to reproduce
Expected behavior
query.toString()
should returnSELECT Name FROM Account WHERE (Name = :v1 AND Id = :v2)
andquery.toObject()
should return the specified Account.The text was updated successfully, but these errors were encountered: