pharo-launcher icon indicating copy to clipboard operation
pharo-launcher copied to clipboard

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

Open labordep opened this issue 2 years ago • 2 comments

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 :

  • Pharo Launcher version: 3.0.1
  • Windows 10 Pro

labordep avatar Aug 25 '23 12:08 labordep

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

hernanmd avatar Sep 19 '23 18:09 hernanmd

@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

demarey avatar Sep 20 '23 06:09 demarey