Offline Symbol Table Missing Object Fields

260 views
Skip to first unread message

Steve Earl

unread,
Feb 3, 2020, 10:29:12 AM2/3/20
to Illuminated Cloud General Discussion
I'm switching between two orgs, A & B, and when generating an offline symbol table for org A, I see all of the object fields I would expect to see.  When generating an offline symbol table for org B, I'm missing a single field in one custom object.  

This appears to be triggering an "An unknown error has occurred" message when trying to save an Apex Class referencing that object and field.

I've deleted the offline symbol table in org B and recreated, and it's still missing the field in question.  I've confirmed that the field exists on the object in org B and that the object and field definitions are the same between orgs A & B.

What could be causing this field to be missing from my offline symbol table?

Scott Wells

unread,
Feb 3, 2020, 10:32:47 AM2/3/20
to Illuminated Cloud General Discussion
Steve, assuming that the field has been deployed to org B, the main thing that would prevent it from showing up in the OST is lack of authorization. See the docs for Ensure field read access in the user guide. If that's unchecked--and it's safe for your user to have authorization on all fields--check it and regenerate the OST. If that's already checked--or if checking it doesn't resolve the issue--I'll likely need to see some debug logs from OST generation.

Let's start there and see if that helps.

Regards,
Scott Wells

marko.sch...@die-interaktiven.de

unread,
May 13, 2020, 3:23:07 AM5/13/20
to Illuminated Cloud General Discussion
Oh man, that's it! Thanks Scott! 
Always was wondering and as I tried to find a solution you've brighten up my day 🙌🏻

Scott Wells

unread,
May 13, 2020, 10:12:03 AM5/13/20
to Illuminated Cloud General Discussion
Glad that did it for you! Thanks for circling back and letting me know.

Take care,
Scott
Reply all
Reply to author
Forward
0 new messages