Bug 425005 - Dolphin shows wrong error message if a target of a symlink is not found
Summary: Dolphin shows wrong error message if a target of a symlink is not found
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.71.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-04 15:49 UTC by Alexander Shchadilov
Modified: 2020-08-30 23:41 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Shchadilov 2020-08-04 15:49:11 UTC
SUMMARY
If a user tries to open a symlink after it's target was deleted a wrong error message appears (a text label shows a path to a symlink where a path to a target is expected).

STEPS TO REPRODUCE
1. touch target
2. ln -s target link
3. rm target
4. Open Home directory in Dolphin.
5. Try to open "link" file with Dolphin.

OBSERVED RESULT
Error message is shown: "Unable to run the command specified. The file or folder <path_to_link> does not exist", where <path_to_link> is a path that references a symlink created in step 2.

EXPECTED RESULT
Error message is shown: "Unable to run the command specified. The file or folder <path_to_target> does not exist", where <path_to_target> is a path that references a file created in step 1.

SOFTWARE/OS VERSIONS
openSUSE Leap 15.2
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.71.0
Qt Version: 5.12.7