Skip to content

Incorrect XML Serialization for a new OutputConfigItem #1952

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
DocMoebiuz opened this issue Feb 23, 2025 · 0 comments
Open

Incorrect XML Serialization for a new OutputConfigItem #1952

DocMoebiuz opened this issue Feb 23, 2025 · 0 comments

Comments

@DocMoebiuz
Copy link
Collaborator

DocMoebiuz commented Feb 23, 2025

Describe the bug
When you create a new Output Config Item in the ConfigListView, and you only assign the name and you don't edit the config and save it, the XML will contain a node without settings and also unnecessary properties.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Create a new config file.
  2. Add a new item description.
  3. Save the file.
  4. Open the file in VSCode.
  5. See error

Expected behavior
The config xml node should only contain the GUID, active and description attributes and elements.

Actual behavior
It contains more node elements.

Details

  • MobiFlight Version: 10.3

Additional context
I noticed this during the mf2025 UI refactoring.
It works ok for InputConfigItems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant