[Bug]: Style file defaults to ".csv" when "*.csv" is used to load multiple style files. #14681
Open
4 of 6 tasks
Labels
bug-report
Report of a bug, yet to be confirmed
Checklist
What happened?
Using the "dev" branch of webui I used the
--styles-file
command line parameter to specify*.csv
as the pattern to use to match styles files. Although all the expected files loaded, when I edited any of them the changes were written to a file named.csv
rather thanstyles.csv
.``Steps to reproduce the problem
--styles-file
command line parameter set to*.csv
.csv
has been createdWhat should have happened?
--styles-file
command line parameter set to*.csv
styles.csv
(i.e. the default name for a style)More broadly, if a wildcard is used to load styles csv files, then we should default to "styles.csv" if there is no CSV present that matches the simplest possible match of the wildcard. That is, if
w*.csv
is used to load style files starting withw
, andw.csv
doesn't itself exist, then usestyles.csv
as the fall-back default.What browsers do you use to access the UI ?
Microsoft Edge
Sysinfo
sysinfo-2024-01-17-14-42.json
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: