Thread Details

 SOQL Studio crashes when querying EntityDefinition object


Post by Alan DePew
Jenzabar
Joined 6/29/2021
Posted 9/23/2021 9:17 PM

I am trying to query the EntityDefinition object. When the query executes the data is returned. However, when scrolling through the columns SOQL Studio crashes when I get about 2/3 through the columns. I can reproduce the error every time.

Here is the query I am using:

SELECT FIELDS(STANDARD)
FROM EntityDefinition
WHERE Label = 'Account'
Post by Administrator
Visual Software Systems
Joined 1/01/2016
Posted 9/24/2021 1:59 PM

Hi Alan,

We can reproduce this error also and have tracked down the root cause to the RecordTypesSupported column.  We'll have a fix for this in the next maintenance release.  In the meantime, if you run the query on the Tooling API by checking the Use Tooling API option under the Selected Organization dropdown on the ribbon's Home tab, the results will render correctly.  If you need to run this query on the default API, you can right-click the the object in the Organizations tool window, select Generate Browse Query and then remove the RecordtypesSupported column from the select list before executing.

Post by Administrator
Visual Software Systems
Joined 1/01/2016
Solved
Posted 10/15/2021 1:25 PM

This issue was corrected in maintenance release v2021.2.293 published yesterday.

Log in to reply to this post.