sat plugin: migrating satelites.json dumps custom groups #4026
Labels
importance: low
Small problem, rarely visible, no crash
opinion
OP thinks something should behave differently
subsystem: plugins
The issue is related to plugins of planetarium...
Those groups should be preserved.
The pattern is to
switch <version>
construct) that applies successive updates/transformations of the dataThis is a design flaw that has never been dealt with. I suppose all modules that deal with JSON data need a utility to gracefully migrate older versions. I agree that this is no trivial task.
Workaround
Version the satellite datafiles, revert to the version that does contain the custom groups, then update the TLE via GUI. (Versioning should have been done prior to upgrading Stellarium...) I don't know whether this works for other JSON files too.
Additionally
The text was updated successfully, but these errors were encountered: