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
juliusknorr 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

@juliusknorr
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

@juliusknorr juliusknorr added bug 1. to develop Accepted and waiting to be taken care of labels Jul 30, 2024
@github-project-automation github-project-automation bot moved this to 🧭 Planning evaluation (don't pick) in 📝 Office team Jul 30, 2024
@juliusknorr juliusknorr moved this from 🧭 Planning evaluation (don't pick) to 📄 To do (~10 entries) in 📝 Office team Jul 30, 2024
@github-project-automation github-project-automation bot moved this from 📄 To do (~10 entries) to ☑️ Done in 📝 Office team Aug 2, 2024
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