Skip to content
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

Reopen FileDialog instead of assertion error #1709

Open
Ducasse opened this issue Jul 5, 2023 · 0 comments
Open

Reopen FileDialog instead of assertion error #1709

Ducasse opened this issue Jul 5, 2023 · 0 comments

Comments

@Ducasse
Copy link
Collaborator

Ducasse commented Jul 5, 2023

  • Click on repair
  • Select locate ...
  • Pick any random folder that is not a git repo
  • You get the following AssertionFailure.
  • It would be better to reopen the filedialog or at least to show an error message with a button to reopen the filedialog.
IceTipRepairLocateRepository >> basicExecute
	| dialog |
	
	dialog := (IceTipLocalRepositoryPanel newApplication: context application)
		location: (self repository location ifNil: [ self defaultLocation ]);
		yourself.
	
		okAction: [ 
			dialog validate.
			self repositoryModel updateLocation: dialog location.
			true ];
		open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant