Footprint Save not honouring plugin type
Bug #1235317 reported by
Dick Hollenbeck
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
High
|
Wayne Stambaugh |
Bug Description
With BUILD_GITHUB_PLUGIN and USE_FP_LIB_TABLE enabled, version 4362:
Use module editor to load a GITHUB_PLUGIN footprint, modify it and save it, I get a confusing error message that proves the wrong FootprintSave() function is being called to save the footprint.
IO_ERROR: Footprint library path <https:/
from /svn/kicad/
1) The kicad_plugin should not be in the picture since the fp_lib_table has plugin type as "Github".
2) The save should not even have been attempted since the PLUGIN returns false to
PLUGIN:
Changed in kicad: | |
assignee: | nobody → Dick Hollenbeck (dickelbeck) |
importance: | Undecided → High |
Changed in kicad: | |
assignee: | Dick Hollenbeck (dickelbeck) → Wayne Stambaugh (stambaughw) |
Changed in kicad: | |
status: | New → Fix Committed |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I committed a fix in r4375 that should fix this problem. Unfortunately I don't have write access to a github repo so I cannot test the fix. However, the second '/' character is no longer stripped from the uri in PCB_EDIT_ FRAME:: Select_ Active_ Library( ) so it should work. Please let me know if you are still having problems.