Guard view bugs when updating a pane's input objects
Opened this issue · 0 comments
marceltaeumel commented
If the pane already has a model and a view, setting input objects via ViPane >> #objects:
will run code unprotected and may spawn a debugger instead of capturing the error within the respective pane.
So, for incompatible views, we want to support both use cases:
ViPane new
objects: #(1 2 3);
currentQuery: #someScript asScript; "w/ incompatible view"
openInHand.
ViPane new
currentQuery: #someScript asScript; "w/ incompatible view"
objects: #(1 2 3);
openInHand.