Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template picker does not handle file name conflicts #46875

Closed
juliushaertl opened this issue Jul 30, 2024 · 0 comments · Fixed by nextcloud-libraries/nextcloud-upload#1313
Closed
Assignees
Labels
1. to develop Accepted and waiting to be taken care of 30-feedback bug

Comments

@juliushaertl
Copy link
Member

Steps to reproduce

  1. Already have a "New document.odt" in the current directory
  2. Create a new file from a template
  3. See "New document.odt" as the file name
  4. Continue to create that file
  5. See an error "Unable to create new file from template"

How it should behave

  • Ideally we show that there is a naming conflict already when entering the name
  • Create a new unique filename by appending a number e.g. "New document (2).odt" as a predefined name
  • Show a more detailed error message as the server already responds with:
Screenshot 2024-07-30 at 14 20 45

@elzody Maybe you can check that when looking into the template picker for nextcloud/richdocuments#3852

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of 30-feedback bug
Projects
Archived in project
3 participants