RemoteID: restore operator ID validation and sanitizing#14262
RemoteID: restore operator ID validation and sanitizing#14262Junior00619 wants to merge 3 commits into
Conversation
|
Thanks for your first pull request! 🎉 A maintainer will review this soon. Please ensure:
We appreciate your contribution to QGroundControl! |
Build ResultsPlatform Status
All builds passed. Pre-commit
Pre-commit hooks: 4 passed, 32 failed, 7 skipped. Test Resultslinux-sanitizers: 68 passed, 0 skipped Artifact Sizes
|
|
@Davidsastresas Can you look at this and verify this is a correct thing to do? |
|
Thanks for tackling this, wiring validation to the Fact signals is the right approach, since the generated settings UI writes the A couple of things before merge: 1. The PR description doesn't match the tests that shipped. The summary lists coverage for "switching from FAA to EU after entering a validated full ID," but that case isn't in the diff, there are only 2. Minor:
|
Fixes #14204.
Summary
RemoteIDManagerso the generated settings UI no longer bypasses the EU checksum pathRemoteIDManagerTestcoverage for valid EU IDs, invalid EU IDs, and switching from FAA to EU after entering a validated full IDVerification
-DQGC_BUILD_TESTING=ONMAVLinkEnums.hin the build treecompile_commands.jsoninside the container:src/Vehicle/RemoteIDManager.cctest/Vehicle/RemoteIDManagerTest.ccI did not finish a full
QGroundControl --unittest:RemoteIDManagerTestrun locally because the complete application build is much larger than the changed scope here, so the remaining end-to-end validation should come from CI.