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

Handle options texts with dots #92

Open
timolemke opened this issue May 24, 2022 · 0 comments
Open

Handle options texts with dots #92

timolemke opened this issue May 24, 2022 · 0 comments

Comments

@timolemke
Copy link

Based on the workaround in 3082794

Option of a fields with options (e.g. RadioButton) are serialized in the struct-property in this way:

  • The options displayName is used as the name of the structProperty
  • The default-behaviour-CheckBox and the optional technicalValue of an option are serialized as Boolean- and String-Properties, below the struct-Property

This has historical reasons and is obviously not good: The options displayValue might contain a lot of characters and (which is the worst) might contains dots. This will lead to a bug: the whole option cannot be edited anymore.

A quick solution could be: Escaping the dot
A better solution would be: serializing the displayName in a stringProperty. The old structure must still be readable, otherwise each project has to perform a content-migration...

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