Skip to content

Don't pre-fill MLAT position fields on an unconfigured feeder#55

Merged
d4rken merged 1 commit into
devfrom
fix/mlat-geo-prefill
Jun 2, 2026
Merged

Don't pre-fill MLAT position fields on an unconfigured feeder#55
d4rken merged 1 commit into
devfrom
fix/mlat-geo-prefill

Conversation

@d4rken
Copy link
Copy Markdown
Member

@d4rken d4rken commented Jun 2, 2026

On a feeder that has never had its position set, the MLAT settings showed a pre-filled 0 m altitude and let Save activate against a placeholder position. The form now honors the feeder's GEO_CONFIGURED flag: latitude, longitude, and altitude render blank (showing their example placeholders) until a real position is set, and Save stays disabled until precise, non-zero coordinates and an altitude are entered.

Honor GEO_CONFIGURED in the MLAT form so a never-configured feeder renders
latitude/longitude/altitude blank (placeholders) instead of leaking the baked
0 sentinels, and gate Save on a non-zero coordinate pair so a 0,0 position is
rejected before the daemon would reject it server-side.
@d4rken d4rken added the bug Something isn't working label Jun 2, 2026
@d4rken d4rken merged commit ceb4806 into dev Jun 2, 2026
7 checks passed
@d4rken d4rken deleted the fix/mlat-geo-prefill branch June 2, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant