Skip to content

Footprint import does not restore EDA footprint info #1392

@PoroCYon

Description

@PoroCYon

Describe the bug
When importing a previously-exported backup of footprints from Part-DB, the EDA info is included in the exported CSV/XML/JSON/YAML (at least when exporting a "full" version), but when importing it, this data is not used and the EDA info assignments on the imported data stay empty.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Tools->Edit->Footprints'
  2. Find a footprint with EDA information assigned (or assign some info if it doesn't exist yet), and note down which footprint it was
  3. Click 'New Element', tab 'Import/Export', under "Export all elements" set the verbosity level to 'full' (format doesn't matter), then click the "Export" button
  4. Open the downloaded file to verify the EDA info is included (it is, in my experience)
  5. On a different Part-DB instance, go to 'Tools->Edit->Footprints', click 'New Element', tab 'Import/Export', and then import the file downloaded at the end of step 3.
  6. Once it's done importing, go to the footprint noted down in step 2 (and verified in step 4), the EDA info isn't there.

Expected behavior
The imported footprint should have kept its EDA info.

Screenshots
N/A

Server Side

  • Part-DB Version: 2.10
  • PHP Version: 8.4
  • Database Server: Postgres 18.3

Desktop (please complete the following information):

  • OS: Void Linux (rolling)
  • Browser: Firefox 150.0

Smartphone (please complete the following information):
N/A

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions