Skip to content

fix: name the existing item's type in the conflict dialog - #3776

Merged
AlexAndBear merged 2 commits into
mainfrom
fix/upload-conflict-title-type
Oct 15, 2026
Merged

AlexAndBear merged 2 commits into
mainfrom
fix/upload-conflict-title-type

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

  • Conflict dialog title and message: use the type of the item that already exists, e.g. "Folder already exists" when a file dup is uploaded onto a folder dup.
  • Same for copy, move, paste and restore from the trash bin, which had the same wrong title.
  • "Apply to all" count: unchanged, still counted by the type of the uploaded items.

Overlaps with #3735 (both add a 5th parameter to resolveFileExists); whichever is merged second needs a rebase.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: unit: title and message use the existing item's type for upload, copy/move and restore; the count stays by the uploaded type
  • test case 2: browser: file onto folder and folder onto file for upload, copy, move and restore; several conflicts with "Apply to all" + "Keep both"

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear
AlexAndBear force-pushed the fix/upload-conflict-title-type branch from 01ed1e4 to 08f9892 Compare October 14, 2026 07:06
@AlexAndBear
AlexAndBear merged commit 744c410 into main Oct 15, 2026
27 checks passed
@AlexAndBear
AlexAndBear deleted the fix/upload-conflict-title-type branch October 15, 2026 13:00
@openclouders openclouders mentioned this pull request Oct 15, 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.

The upload conflict dialog names the uploaded item's type, not the existing one

2 participants