acrosman / Salesforce2Sql

Electron app to convert a Salesforce org's schema into a similarly shaped database.
MIT License
14 stars 8 forks source link

Error when refetching over existing connection #135

Closed acrosman closed 1 year ago

acrosman commented 2 years ago

Describe the bug When fetching fields during a second pass at pulling information from an existing connection a Javascript error pops up: Type Error: Cannot read properties of undefined (reading 'type'). Comes from handling of Object Describes.

To Reproduce Steps to reproduce the behavior:

  1. Connect to an org.
  2. Pull list of objects, use default selection and moved to proposed schema tab.
  3. Pull list of fields.
  4. Go back to objects tab and repull all objects.
  5. Unselect all, and select just one.
  6. Move to proposed schema tab again and fetch details.

Expected behavior The fields from selected object are fetched

Desktop (please complete the following information):

acrosman commented 2 years ago

Struggling to reproduce my own bug report in development environment. Will continue to research. If anyone else encounters this suggested changes to reproduction instructions are welcome.