mobile
mobile copied to clipboard
Project can not be uploaded when project name ends with a dot.
Description
When creating a project with a project name that ends with a dot (.), the project is created locally, but synchronization fails and the project is not uploaded / loaded on the server.
Environment Staging
Device / OS iOS/Android
Steps to reproduce
- Open a application on the mobile device.
- Create a new project and when entering the project name type a dot at the end of the name (e.g., "MyProject.").
- Complete project creation.
- Observe the project name in the app.
- Attempt to sync/upload the project to the server (or wait for automatic synchronization).
- Observe that the project is created locally but the synchronization fails and the project does not appear on the server.
Actual results
- The project is created locally but synchronization fails; the project is not loaded on the server. The project name ends with dots, which appears related to the sync failure.
Expected results
- Trailing spaces in project names should be either:
- Cleaned/normalized (trimmed) before attempting to create/upload the project, or
- Properly preserved and handled so they do not cause server-side sync issues.
- The project should successfully upload and be visible on the server regardless of trailing space characters in the entered name (or the UI should prevent/normalise such names and explain the restriction to the user).
https://github.com/user-attachments/assets/5717baa9-f64a-40ce-9c0d-e2b2428d357a