Bug 469165

Summary: IPv6 routes with metric 0 are silently dropped
Product: [Frameworks and Libraries] frameworks-networkmanager-qt Reporter: Dmitry <dmitriyvalter>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: lamarque, lukas.tinkl
Priority: NOR    
Version First Reported In: 5.102.0   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Dmitry 2023-04-29 23:39:07 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Add IPv6 route with metric 0 to nm-connection (i.e. via text editor)
2. Open the connection in plasma-nm
3. Observe no such route displayed
4. Close the window and get warned about changes

OBSERVED RESULT
Route is dropped from nm-connection

EXPECTED RESULT
Route is not silently lost

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:  5.x
(available in About System)
KDE Plasma Version: 5.x
KDE Frameworks Version: 5.x
Qt Version: 5.x

ADDITIONAL INFORMATION
Cause: https://invent.kde.org/frameworks/networkmanager-qt/-/blob/master/src/settings/ipv6setting.cpp#L454