Netlist exporter part descriptions do not respect aliases

Bug #1774358 reported by fauxpark
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
Jeff Young

Bug Description

When generating a BOM which includes a part that is an alias of another, the description is that of the parent symbol instead. For example, if I use an ATmega32U4 (an alias of the 16U4) in my schematic, the Description field for it in the generated BOM reads:

16MHz, 16kB Flash, 1.25kB SRAM, 512B EEPROM, USB 2.0, TQFP-44

Whereas it should actually be:

16MHz, 32kB Flash, 2.5kB SRAM, 1kB EEPROM, USB 2.0, TQFP-44

I initially thought this was an issue with the Python scripts, but it appears to be before that, in the intermediate netlist exporter, as only the parent symbol's description is present in the XML file. I considered the exporter might only be looking at the .lib files, however the Datasheet fields for both FDS6630A and FDS2734 (aliases of IRF8721PBF-1) are correct.

Version info:

Application: kicad
Version: (5.0.0-rc2-30-gcd5f72788), release build
Libraries:
    wxWidgets 3.0.3
    libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1 librtmp/2.3
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.60.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.54.1
    Compiler: GCC 7.1.0 with C++ ABI 1011

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

Tags: eeschema bom
Jeff Young (jeyjey)
Changed in kicad:
assignee: nobody → Jeff Young (jeyjey)
status: New → In Progress
Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

Fixed in revision e0c881b63923d62ee95e947501fd6bb30d951644
https://git.launchpad.net/kicad/patch/?id=e0c881b63923d62ee95e947501fd6bb30d951644

Changed in kicad:
status: In Progress → Fix Committed
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.