stevebuik / Graphvizforce-Lightning

Automatic Entity-Relationship diagrams and SOQL queries for Salesforce
The Unlicense
31 stars 3 forks source link

Apex autobuild fails/hangs when trying to analyse a class from a managed package #42

Closed stevebuik closed 6 years ago

stevebuik commented 6 years ago

The message is " from a managed package cannot be saved"

Also hangs the console when this occurs (because the console watches the tooling api via a websocket)

Solution: detect the lack of source for classes from managed packages and skip them i.e. use a predicate method for skipping classes.

Also add a try/catch block to better handle generic errors and report to user in progress component

stevebuik commented 6 years ago

managed classes now excluded