Upload not triggered on fresh install without port selection #702
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the bug
A fresh install does not have any port selected. A new user may not realize they need to select a port, or perhaps they are unable to select one due to a driver or hardware problem.
Since a port selection is required for a standard upload, the upload is expected to fail under these cases but the IDE should clearly communicate the problem to the user.
This is done normally, but in the specific case of a fresh install the Upload attempt simply has no effect at all, leaving the user confused.
To Reproduce
(Selected arbitrarily. The issue is not board specific.)
🐛 Note that nothing at all happens and there is no feedback.
🐛 Note that nothing at all happens and there is no feedback.
(or anything that produces a serial port)
🙂 The upload fails with a meaningful error message:
Expected behavior
Always communicate to the user when an upload is attempted without a port selected.
Desktop
Date: 2021-12-15T09:32:43.552Z
CLI Version: 0.20.2 [13783819]
The text was updated successfully, but these errors were encountered: