nextcloud / nextcloud/ios

Error message after copying the same files again into a folder (412)

Open
#1,806 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

l10n/i18n Translation
Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Frequency
Every Time

Actions Performed

  1. Open the app
  2. Open any folder with files in it
  3. Select a few of them
  4. Click on the 3 dots on the upper right
  5. Copy those files to any other folders
  6. Repeat steps 3-6. Select the same folder but deselect "Überschreiben" (overwrite)

Expected Result
If the data already exists and you have not selected "Overwrite", a corresponding note (in German) should appear

Actual Result
An error message appears, which does not explain to the user what he did wrong or why it is not possible. Furthermore, the message is in English although the German version is used. The error message seems to be incomplete

Error Message
412: The server does not meet one of the preconditions that the requester

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the copy workflow with the same files and overwrite disabled, then trace how the app handles the HTTP 412 response and selects localized error text. Inspect the relevant localization resources and error-handling entry point; done means the German interface shows a clear explanation when files already exist and overwrite is not selected.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
localization, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.