-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reload raised an error because context is nil #1779
Comments
Yes, many users of I believe I've managed to chase down all the remaining cases—PR incoming. |
…hContext: pattern (fixes pharo-vcs#1779) Fixes nil DNU #application errors for package reload/remove/unload, tag delete, and method version load. Also remove extraneous IceRepositoryModified when the action already has #onSuccessRepositoryModified. Add missing ^return in IceTipVersionHistoryModel>>retrieveHistory Remove IceTipStandardAction>>execute: as execution without a context will ~always fail and the pattern is to assign the action first, then the context at time of execution. No references remain in Iceberg packages, and in fact all remaining references are self-sends, so clearly aren't sent to IceTipStandardAction.
I was thinking to first add
in the superclass of action. |
I thought of something like that, but by the time I determined what the right default value for |
Ah then even better. Now since we want to remove the dependencies to UIManager the "UI" should be passed via the Application. This way we will one single point of control. |
Update users of IceTipStandardAction to use #newXAction + #executeWithContext: pattern (fixes #1779)
The problem is that it is unclear how to reach the current application.
The text was updated successfully, but these errors were encountered: