Problematic behavior
- In the document app, click [+ New] > Uploaded file
- Manually enter its title (e.g My file)
- Select a file to upload
--> The title of the document is not "My file" anymore, it matches the selected file's name.
Proposition
When a file title has been manually set, we should not override it.
It should be overridden only when:
- The title was empty -> will match selected file's name
- The title matches the selected file's name and another file is selected -> will match newly selected file's name