Somehow end up or add an empty service parent node with no credential children
Import a database with a service with the same name but which actually has a credential child node
import fails with "duplicate service" error
Of course db import could find and re-use this empty service (it doesn't evaluate as "equal" enough), but, integrity check should fix this problem imo.
Moolticute Version
1.00.1
Operating System
Linux
Mooltipass Device
The Mooltipass Mini BLE
FWIW, I was able to make the integrity check remove the empty parent node with this diff. It feels kind of hacky though.
Expected behavior
DB integrity check should remove empty services.
Actual behavior
It doees not.
Step by step guide to reproduce the problem
Of course db import could find and re-use this empty service (it doesn't evaluate as "equal" enough), but, integrity check should fix this problem imo.
Moolticute Version
1.00.1
Operating System
Linux
Mooltipass Device
FWIW, I was able to make the integrity check remove the empty parent node with this diff. It feels kind of hacky though.