pharo-project / pharo-launcher

Lets you manage your pharo images and download new ones
https://pharo-project.github.io/pharo-launcher/
MIT License
108 stars 46 forks source link

Message "PhLCommandError: Only one template must be selected!" #624

Open labordep opened 10 months ago

labordep commented 10 months ago

This error occurs when :

1 - Open the launcher 2 - Click on New button 3 - In the category Official distributions (open by default) click on a template, for example Pharo 11.0 - 64 bit (stable) 4 - Select all templates with Ctrl+A keyboard shortcut 5 - Click on a template, for example Pharo 11.0 - 64 bit (stable) 6 - Click create image and see the error

The error : image

The error say you need to select only one template, but this is already done at step 5 :(

=> Potential source of the bug : When the error occurs, the image name on the right is not the good one, in my case this is Moose Suite 9.0 (old stable) but this should be be Pharo 11.0 - 64 bit (stable). To fix the field content you need to click on another template and re-click on the good one, and after this is ok to create the image.

My Config :

hernanmd commented 9 months ago

@demarey is there any use case for having the templates list as multi-selection? could we just make the list single-selection?

demarey commented 9 months ago

@hernanmd For now, it is the only to batch remove a set of templates from the local templates category. So we cannot just switch to a single selection. we could do it but then, we need to find a way to allow batch removal of local templates