Skip to content

Fixed missing "size" on Guide file builds#486

Merged
miquelcampos merged 1 commit intomasterfrom
485-bug-size-key-missing-from-selfoptions
Apr 8, 2025
Merged

Fixed missing "size" on Guide file builds#486
miquelcampos merged 1 commit intomasterfrom
485-bug-size-key-missing-from-selfoptions

Conversation

@SimonBenAnderson
Copy link
Copy Markdown
Contributor

Description of Changes

When building a guide from a hierarchy after the components have been created there is a call to the addOptionsValues that generate the "size" option key value pair. This key value pair does not get generated anywhere else in the codebase.

So I added it to the set_from_dict that gets called from the build_from_file.

Testing Done

Built some guides using there .gst files and the error no longer persisted and it looks like the builds completed correctly.

Related Issue(s)

#485

@SimonBenAnderson SimonBenAnderson linked an issue Apr 8, 2025 that may be closed by this pull request
@SimonBenAnderson
Copy link
Copy Markdown
Contributor Author

SimonBenAnderson commented Apr 8, 2025

Hey @miquelcampos, I have fixed the issue but it will have the effect that the size value gets update dynamically from guide file, instead of having that data serialized into the .gst file.

I am not sure if that design is what you want, please feel free to change it :)

@miquelcampos
Copy link
Copy Markdown
Member

@SimonBenAnderson I will check it later, not sure about the solution right now :)

@miquelcampos miquelcampos merged commit d0b7b3f into master Apr 8, 2025
0 of 3 checks passed
@miquelcampos
Copy link
Copy Markdown
Member

@SimonBenAnderson Merged! I think is a good solution. Also help me to find a couple of things to polish. 😄

@SimonBenAnderson SimonBenAnderson deleted the 485-bug-size-key-missing-from-selfoptions branch April 10, 2025 22:21
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

Successfully merging this pull request may close these issues.

[BUG] "size" key missing from self.options

2 participants