Skip to content

SimBridge dependant addons cannot install/update when SimBridge is installed, but track is unknown. #475

Open
@FoxtrotSierra6829

Description

Installer Version

v3.4.0

Describe the bug

Edge case discovered while experimenting, SimBridge was downloaded using a URL which is not in the presently used installer-data config. The installer couldn't automatically determine the correct track for SimBridge, which made the update of the A32NX stuck due to an uncaught promise.
renderer.js:14 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'url')
Selecting a track for SimBridge manually before starting the download fixes the issue.

grafik

Expected behavior

Installer disregards non-selection of track or automatically selects 1st choice if correct track cannot be determined

Steps to reproduce

  1. have source in install.json which does not match any track url in installer-data config
  2. try to install/update simBridge dependent addon (fails)
  3. restart Installer
  4. select simBridge and select track
  5. install/update simBridge dependent addon

References (optional)

No response

Additional info (optional)

No response

Discord Username (optional)

foxtrotsierra

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions