-
-
Notifications
You must be signed in to change notification settings - Fork 160
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Creating a new instance from a template without populating the name field appears to work but breaks silently in the background, continuing to show 'Creating instance. This might take a while...' even if there is no existing instance with that template name.
Expected Behavior
One of:
- The prefilled default name to actually be checked / passed to the instance creator if not in use
- A warning / error regarding manual entry in the field being required
- Similar other fix as you see fit
And possibly:
- The exception to be passed back to the GUI and handled to show the user that there was at least an error
Steps To Reproduce
- Create a template from an instance
- Rename the template OR delete the original instance
- Create a new instance from the template without populating the name field (leaving the prefilled example name)
- (a) See
Creating instance. This might take a while...appear in GUI with no end - (b) wslmanager log file produces error:
<asynchronous suspension>
#1 Templates.useTemplate (package:wsl2distromanager/api/templates.dart:48)
<asynchronous suspension>
#2 _TemplatePageState.build.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:wsl2distromanager/screens/template_screen.dart:142)
<asynchronous suspension>
Environment
- Windows Version: Windows 11 Pro 10.0.26200
- WSL Distro Manager Version: v1.10.0
- WSL Version: 2.6.3.0
- Source: GitHub releasesAnything else?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working