You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I have found a bug regarding properties panel validations when using group extensions. When adding a validation to a widget in the parent group, the validation never appears in the parent group, while the validation and tool-tip is duplicated in the child group.
To reproduce, take the Sirius tutorial Family example. Add a properties panel Page containing two groups. The first group should be for the basicfamily::Person domain class. Add a text widget that displays the Person's name. Then, create a second group which extends the first group, and which is for the basicfamily::Man domain class. Then, add a validation in the Person group which is for the name text widget. For these purposes, set the audit to always return false so the validation is always shown.
Run the example and import the sample basic family from the tutorial. When clicking on the people you will notice that for the Men and Women nodes, the name text widget in the Person group does not have a validation marker. Second, when looking at the name text widget in the Man group, you will see that the tool-tip for the validation displays the validation message twice. The properties panel will show that 2 messages are detected, which seems to me to imply that both validations are being assigned to the Man group text widget, instead of one to the Person group text widget and one to the Man group text widget.
I would expect that when adding a validation to a widget in a group that is then extended, that this validation would apply to the widget in the group itself, as well as to all of the same widgets that appear in any group that extends that group. It is possible though that I am misunderstanding something about how validations work in regards to group extensions.
The text was updated successfully, but these errors were encountered:
I think I have found a bug regarding properties panel validations when using group extensions. When adding a validation to a widget in the parent group, the validation never appears in the parent group, while the validation and tool-tip is duplicated in the child group.
To reproduce, take the Sirius tutorial Family example. Add a properties panel Page containing two groups. The first group should be for the basicfamily::Person domain class. Add a text widget that displays the Person's name. Then, create a second group which extends the first group, and which is for the basicfamily::Man domain class. Then, add a validation in the Person group which is for the name text widget. For these purposes, set the audit to always return false so the validation is always shown.
Run the example and import the sample basic family from the tutorial. When clicking on the people you will notice that for the Men and Women nodes, the name text widget in the Person group does not have a validation marker. Second, when looking at the name text widget in the Man group, you will see that the tool-tip for the validation displays the validation message twice. The properties panel will show that 2 messages are detected, which seems to me to imply that both validations are being assigned to the Man group text widget, instead of one to the Person group text widget and one to the Man group text widget.
I would expect that when adding a validation to a widget in a group that is then extended, that this validation would apply to the widget in the group itself, as well as to all of the same widgets that appear in any group that extends that group. It is possible though that I am misunderstanding something about how validations work in regards to group extensions.
The text was updated successfully, but these errors were encountered: