Project File Name Length Restriction Bypass Issue

Bug Description

The tracker has restrictions on the length of project file names. However, this restriction doesn’t apply when the file is renamed on a computer. If a project file is renamed on a computer and exceeds the allowed character limit, the project will not open on the hardware.

Steps to Reproduce

  1. Create a project and save it with a compliant file name on the hardware.
  2. Rename the project file on a computer with a name exceeding the character limit.
  3. Attempt to open the renamed project file on the hardware.

Occurrence / Frequency

Always

Found in Firmware

  • Version : Last
  • Build : Last

:warning: Careful! This is a FAT32 filesystem limitation and not a bug.

There are a couple things to be aware of here:

  • The FAT32 filesystem has a character limit how long filepaths can be.
  • Certain characters are not allowed like \ / : * ? " < > |
  • The maximum filepath can be 255 characters - this is the entire path, not a single file.
  • The filesystems on computers do not keep this in mind (Windows does, but not correctly either).

Due to this, there are some limitations how long a filepath can be on the device, before it becomes a problem to be read… and there is nothing that can be done on the device once this happens, because the software simply won’t see those paths/folders. Which also means there is no way to alert the user about this.

Sidenote:
Project names are not based on the filename on disk (they are two separate values)

1 Like

This topic was automatically closed after 7 days. New replies are no longer allowed.