Skip to content
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

Fix TextChoice options sometimes creating a broken YAML #3390

Merged
merged 4 commits into from
Jun 1, 2024

Conversation

LegendaryLinux
Copy link
Member

What is this fixing or adding?

Fixes a bug reported here: #3367

TextChoice options' custom values were not being properly accounted for in player-options. They are now being properly filled and the offending key is removed.

How was this tested?

Ran WebHost locally and generated several Tunic YAML files.

If this makes graphical changes, please attach screenshots.

It does not.

@github-actions github-actions bot added affects: webhost Issues/PRs that touch webhost and may need additional validation. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels May 23, 2024
@LegendaryLinux LegendaryLinux added is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. affects: release/blocker Issues/PRs that must be addressed before next official release. labels May 23, 2024
Copy link
Collaborator

@ScipioWright ScipioWright left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed the issue

WebHostLib/options.py Outdated Show resolved Hide resolved
Copy link
Member

@NewSoupVi NewSoupVi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks correct

@LegendaryLinux LegendaryLinux merged commit 15e06e1 into main Jun 1, 2024
29 checks passed
wu4 pushed a commit to wu4/Archipelago that referenced this pull request Jun 6, 2024
…W#3390)

* Fix TextChoice options with custom values improperly being included in YAML output

* Update WebHostLib/options.py

Co-authored-by: Fabian Dill <[email protected]>

---------

Co-authored-by: Fabian Dill <[email protected]>
jnschurig pushed a commit to Tranquilite0/Archipelago-SoulBlazer that referenced this pull request Jun 13, 2024
…W#3390)

* Fix TextChoice options with custom values improperly being included in YAML output

* Update WebHostLib/options.py

Co-authored-by: Fabian Dill <[email protected]>

---------

Co-authored-by: Fabian Dill <[email protected]>
sflavelle pushed a commit to sflavelle/Archipelago-tgc that referenced this pull request Jun 20, 2024
…W#3390)

* Fix TextChoice options with custom values improperly being included in YAML output

* Update WebHostLib/options.py

Co-authored-by: Fabian Dill <[email protected]>

---------

Co-authored-by: Fabian Dill <[email protected]>
qwint pushed a commit to qwint/Archipelago that referenced this pull request Jun 24, 2024
…W#3390)

* Fix TextChoice options with custom values improperly being included in YAML output

* Update WebHostLib/options.py

Co-authored-by: Fabian Dill <[email protected]>

---------

Co-authored-by: Fabian Dill <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects: release/blocker Issues/PRs that must be addressed before next official release. affects: webhost Issues/PRs that touch webhost and may need additional validation. is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants