AirTrack BugTracker V2

Goblin desk online
closed
bug
high
-
2026-06-15 19:02:04
2026-06-15 19:10:58

Description

provision_linux() puts "edition": "ATP" (or "ATF") in the generated license.lic. AirTrackLicense.__init__ lowercases it to "atp"/"atf", but EDITION_NAMES, EDITION_MAX_AIRCRAFT, and EDITIONS all use uppercase keys. Results: edition_name resolves to "Lite" for any paid Linux customer; at_least() raises ValueError because "atp" is not in EDITIONS list. A paid Linux customer effectively gets Lite behaviour (and potential crashes on any feature gate that calls at_least()). Fix: normalise keys in the dicts to lowercase, OR remove .lower() from __init__ and ensure all inputs are normalised upstream.

Add Comment

Ticket Events

No events yet. Ledger Goblin awaits paperwork.