Export filename extensions missing if there is a period in the filename

Report bugs here
Post Reply
Message
Author
Dave8266
Posts: 49
Joined: 20 Mar 2020, 16:57

Export filename extensions missing if there is a period in the filename

#1 Post by Dave8266 » 26 Jul 2021, 04:04

I've been playing around with the BOM tools, and came across a small bug in the file saving/exporting process.
If the filename has a period in it, then the exported file will be missing the filename extension.

For example, if my design is called "Humidity_Sensor_v1.4", and I export the BOM as a CSV file, I will receive the file:
"Humidity_Sensor_v1.4"
as the CSV file output instead of the expected:
"Humidity_Sensor_v1.4.csv"

If the filename doesn't have any periods in it (eg, "Humidity_Sensor_v1"), the export happens as expected with the correct ".csv" extension applied.
If the filename has multiple periods in it (eg: "Humidity_Sensor_v1.4.2"), the full name with all periods is preserved but the extension is not applied.

Thanks!

Alex
Technical Support
Posts: 3897
Joined: 13 Jun 2010, 23:43

Re: Export filename extensions missing if there is a period in the filename

#2 Post by Alex » 27 Jul 2021, 01:51

Thank you for the report, we will investigate the issue.

Post Reply