| Summary: | Wrong errorCode thrown when trying to recover deleted file | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Xavi Rodriguez Gallego <javirg> |
| Component: | general | Assignee: | David Faure <faure> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | a.samirh78, kdelibs-bugs-null, nate, txemaq |
| Priority: | NOR | ||
| Version First Reported In: | 5.68.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/kio/commit/a34cd22e3206588938323865bc77cfdb52c407aa | Version Fixed/Implemented In: | 5.72 |
| Sentry Crash Report: | |||
|
Description
Xavi Rodriguez Gallego
2020-03-21 08:49:50 UTC
Git commit a34cd22e3206588938323865bc77cfdb52c407aa by Ahmad Samir. Committed on 21/06/2020 at 15:25. Pushed by dfaure into branch 'master'. [Trash] Handle ENOENT error when renaming files When the user deletes a file, empties the trash, then tries to undo the deletion, the error message should state that the file does not exist. Add unit test. FIXED-IN: 5.72 M +12 -0 src/ioslaves/trash/tests/testtrash.cpp M +1 -0 src/ioslaves/trash/tests/testtrash.h M +5 -0 src/ioslaves/trash/trashimpl.cpp https://invent.kde.org/frameworks/kio/commit/a34cd22e3206588938323865bc77cfdb52c407aa |