Skip to content

fix: copy action for the current folder - #4073

Merged
kulmann merged 1 commit into
mainfrom
fix/copy-current-folder
Oct 29, 2026
Merged

kulmann merged 1 commit into
mainfrom
fix/copy-current-folder

Conversation

@JammingBen

Copy link
Copy Markdown
Member

Description

"Copy to" did nothing when it was run on the current folder from the breadcrumb context menu. The action read the resources to copy from resourcesStore.selectedResources, which only returns selected items from the folder listing. The current folder is never in its own listing, so the copy got an empty list.

The action now copies the resources passed to its handler, the same way the move action already does. Copying a folder into itself or one of its subfolders is still blocked by the existing recursion check in ResourceTransfer.

Related Issue

@JammingBen JammingBen self-assigned this Oct 29, 2026
@JammingBen
JammingBen requested a review from kulmann October 29, 2026 14:58
@kulmann
kulmann merged commit 57918ff into main Oct 29, 2026
29 checks passed
@kulmann
kulmann deleted the fix/copy-current-folder branch October 29, 2026 15:34
@openclouders openclouders mentioned this pull request Nov 2, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Copy action for the current folder does't work

2 participants