dannysummerlin / force-navigator

Force Navigator
MIT License
20 stars 6 forks source link

fix #35 - Getting "null" text in final URL for some core functions #36

Closed uris-tools closed 1 year ago

uris-tools commented 1 year ago

Due to race condition, createSObjectCommands() that runs in the background, sometimes has no access to forceNavigator.serverUrl (as this value is set in the contentScript).

To fix it, I passed the value of serverUrl in the "getMetaData" message, in a similar way apiUrl and other values are passed. The result is that the error is not happening anymore.

purplepolkapants commented 1 year ago

Thank you, would be great to have this available in the extension!

JarrahN commented 1 year ago

Thankyou @uris-tools - @dannysummerlin would love this to become available when you can, please!