A regression seems to have occurred where the description string of an error for a Realm failing to be opened is no longer being displayed.
At the moment, if a Realm fails to open for any reason, only this generic message is supplied:
While it seems that the appropriate NSError object is being captured from Realm, it's not being passed up to this alert box properly. This is causing some confusion with certain users as to why a perfectly legitimate Realm file is otherwise not opening in the Browser (#237 and #239)
This appears to be easily fixed by adding an override for the presentError: method of the NSDocument class.
A regression seems to have occurred where the description string of an error for a Realm failing to be opened is no longer being displayed.
At the moment, if a Realm fails to open for any reason, only this generic message is supplied:
While it seems that the appropriate
NSError
object is being captured from Realm, it's not being passed up to this alert box properly. This is causing some confusion with certain users as to why a perfectly legitimate Realm file is otherwise not opening in the Browser (#237 and #239)This appears to be easily fixed by adding an override for the
presentError:
method of theNSDocument
class.