superfell / SoqlX

SoqlXplorer is an awesome tool for developers using the Salesforce.com platform.
https://pocketsoap.com/osx/soqlx/
Other
273 stars 54 forks source link

The login sheet doesn't appear #141

Open superfell opened 3 years ago

superfell commented 3 years ago

via Twitter https://twitter.com/seotoni/status/1453087579776196613

It turns out if in an older version of SoqlX you get an entry into the servers list that NSURL doesn't consider to be a valid url, the LoginTargetController ends up trying to insert nil into an array, which causes an exception which then means the code that shows the login sheet never executes.

The fix is pretty simple, but it'd also be good to see if there's a good way to catch unexpected exceptions and show then in the UI, or force a hard crash that crash reporter would then log.

New in v4.2

superfell commented 3 years ago

specific issue fixed in fee2be1e679f40b4a9824a2e4fad15b21463c548

global exception handler still TBD