Skip to content

[Bug] Parts of components database are in two different places in the source tree, and only one is ending up being loaded at run time #2479

@JoePfeiffer

Description

@JoePfeiffer

Describe the bug

The openrocket-database is now in the source tree at .../core/resources-src/datafiles/openrocket-database/orc/
while the legacy database (including components that don't appear in openrocket-database) is at .../core/src/main/resources/datafiles/presets/

When OR is built, it ends up with several subdirectories under .../core/build/resources/main/datafiles/ containing parts of the database. I think without checking carefully that .../components/ is openrocket-database, .../components-openrocket is the legacy database, and .../presets combines them. At runtime, only .../components/ is loaded.

To Reproduce

Open the attached .ork file under current unstable

Screenshots / .ork file

The attached .ork file loads under 23.09, but gets many "No matching component preset" errors under current unstable
double-the-fun.zip

OpenRocket version

unstable (regression from 23.09)

What platform are you running on?

Linux

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions