Empty additional boards URLs input
generates incorrect board_manager#additional_urls
entry in the CLI config
#919
Labels
conclusion: resolved
Issue was resolved
criticality: highest
Of highest impact
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
When I manually edit the additional URLs
<input>
and leave it empty, then the additional URLs will be incorrectly persisted into the CLI config.To reproduce
Due to #881, I manually edited the 3rd party URL
<input>
here:I wanted to dig into #876 so I copied this additional URLs string into the
<input>
and restarted the IDE:The index update was successful.
I wanted to check how fast the IDE starts without any 3rd party URLs so I deleted (select all and delete) the content form the 3rd party URLs
<input>
, closed the settings dialog, and restarted the app.I have seen a lot of errors in the backend log such as these:
So I checked the generated CLI config. It's incorrect:
Expected behavior
Generate the following CLI config when there are no 3rd party URLs specified.
OR
Arduino IDE version
HEAD of the
main
branch (git rev-parse --short HEAD ca1c240
)Operating system
macOS
Operating system version
11.6.5 (20G527)
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: