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

[Bug]: Not able to create a copy of a file in the same directory #41768

Closed
4 of 8 tasks
ChristophWurst opened this issue Nov 27, 2023 · 3 comments · Fixed by #42889
Closed
4 of 8 tasks

[Bug]: Not able to create a copy of a file in the same directory #41768

ChristophWurst opened this issue Nov 27, 2023 · 3 comments · Fixed by #42889

Comments

@ChristophWurst
Copy link
Member

⚠️ This issue respects the following points: ⚠️

Bug description

I have a folder in Files with a file template for a meeting protocol. Every week I copy the file to the same directory to get a new copy. This is no longer possible in 28.

Steps to reproduce

  1. Create a folder
  2. Create a file in the folder
  3. Click the Move or copy

Expected behavior

The file picker lets me pick the source directory for Copy.

Installation method

None

Nextcloud Server version

28

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

@ChristophWurst
Copy link
Member Author

This is likely restricted by

&& node.fileid !== n.fileid
.

@ChristophWurst
Copy link
Member Author

As a user I would prefer if Copy is still possible to the same directory but it makes sense to disable Move when source directory = target directory.

@susnux susnux self-assigned this Nov 28, 2023
@susnux susnux moved this to 📄 To do (~10 entries) in 📁 Files team Nov 28, 2023
@susnux susnux added this to the Nextcloud 29 milestone Nov 28, 2023
@mehlkopf
Copy link

mehlkopf commented Jan 4, 2024

This is one of the main complaints from my team regarding NC28. Honestly, I would find it way better to just add a dedicated "Duplicate" function that duplicates the file or folder and automatically selects its name to be edited, saving 1-2 steps compared to the Copy/Move function in NC<28. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants