62297e63a2
The paste code creates invalid KIID_PATH objects with a zero length. All
paths must include the root KIID at a minimum. Code was added to prune
the invalid paths and some defensive code was adding to the formatter to
prevent the crash in case there are other paths where someone generates
a zero length path.
Pruning orphaned instance data does not work when loading schematics prior
to version 7 because the paths did not include the root sheet UUID. Once
the file is saved to V7 or later, the next load will prune any orphaned or
invalid instance data for the current project.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16245
(cherry picked from commit
|
||
---|---|---|
.. | ||
altium | ||
cadstar | ||
database | ||
eagle | ||
kicad | ||
legacy | ||
sch_lib_plugin_cache.cpp | ||
sch_lib_plugin_cache.h |