-
Notifications
You must be signed in to change notification settings - Fork 298
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
Regression issues with final modifiers in replaceable class definitions #11964
Comments
@abuntrock we are going to release 1.22.2 because it has some critical fixes. We'll make a 1.22.3 release in 2-3 weeks addressing this issue. |
Sounds good. Thanks for keeping us updated @casella |
@abuntrock PR #12022 fixes this issue. Test this with tomorrow's nightly build. |
I tested this with todays nightly and it looks like expected and as it was in 1.22.0. Thank you very much. We would be very happy to see this in a possible 1.22.3 version to combine the performance advantages made for 1.22.2 with the correct look of the subdialog. |
No problem, @adeas31 can you please port #12022 to maintenance/v1.22? |
Description
I discovered some problems with the handling of final modifications in replaceable class defintions in OMEdit 1.22.1 (and in todays nightly v1.23.0-dev-297-g308aba5ec2), which were already fixed (or not yet present) in OMEdit 1.22.0.
Steps to Reproduce
ClassWithInstance
and open the parameter dialog oftopLevelClass
.topLevelClass.replModel
via the edit button. Here the first problem appears. All the parameters which are set to final in the replaceable defintion ofreplModel
inTopLevelClass
. This is the same problem as reported here Final modifier for parameter dialog of redeclared classes #10394, which was fixed for version 1.22.0.[FinalModifierReplaceable: 12:128-12:151]: [Trying to override final element boolParam2 with modifier '= false'.](omeditmessagesbrowser:///FinalModifierReplaceable?lineNumber=12)
The text layer of of
ClassWithInstance
now looks like this:boolParam2
is overwritten. It seems to depend on the existence of thechoices(checkBox=true)
annotation because the value ofboolParam1
is not overwritten.Expected Behavior
Version and OS
This is really important for us because it makes a lot of out parameterized models unusable in OMEdit 1.22.1.
Thanks for looking into this
Aaron Buntrock - Bosch Rexroth
The text was updated successfully, but these errors were encountered: