nextcloud / nextcloud/notes-android

Undo delete results in duplicate note

Open
#2,226 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
1.1k
Forks
168
Avg merge
1d 17h
Merged PRs (30d)
31

Description

This issue respects the following points:
Describe the bug
  1. Delete a note from the overview
  2. Immediately click on the appearing undo bar
  3. A duplicate note of the concerned note is created in addition to the original
Expected behavior

The note should be restored but no duplicate note should be added and named "...(2)":

Notes Android version

4.2.1

Notes server version

4.10.0

Nextcloud Android version

3.29.0

Nextcloud version

27.1.10

Device

Sony Xperia 5

Android Version

14

App Store
  • Google Play Store
  • F-Droid
  • Huawei App Gallery
Stacktrace

No response

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 problem in the Notes Android app by deleting a note from the overview and immediately selecting the undo bar, using the reported app and platform versions as a reference. Trace the delete/undo flow and verify that undo restores the original note without creating a second note named "...(2)".

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.