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
A defaultComponentName model name annotation is not respected case sensitively. The default instance name is rather the one from the annotation converted to only lower case.
Steps to Reproduce
Consider the following MWE
model DefaultComponentNameannotation(defaultComponentName="ALLCAPS");end DefaultComponentName;
Create a new class and instantiate the model DefaultComponentName.
The pop-up dialog for the instance name has allcaps instead of ALLCAPS as its default.
Expected Behavior
If a defaultComponentName annotation exists it should be used case sensitive when a new instance of this class is created.
Side Note: We think that the to-lower-case behavior is good when no defaultComponentName annotation exists.
Side Note2: This issue is important for us because we want the instance name to resemble the real product names of our digital twins, which include upper case letters.
Version and OS
OpenModelica Version: v1.22.0-dev-178-gabbf3e40b3 (64-bit) with instance API (nightly from last week)
OS: Windows 10, 64 bit
Thanks for looking into it
Aaron Buntrock - Bosch Rexroth
The text was updated successfully, but these errors were encountered:
Description
A
defaultComponentName
model name annotation is not respected case sensitively. The default instance name is rather the one from the annotation converted to only lower case.Steps to Reproduce
DefaultComponentName
.allcaps
instead ofALLCAPS
as its default.Expected Behavior
If a
defaultComponentName
annotation exists it should be used case sensitive when a new instance of this class is created.Side Note: We think that the to-lower-case behavior is good when no
defaultComponentName
annotation exists.Side Note2: This issue is important for us because we want the instance name to resemble the real product names of our digital twins, which include upper case letters.
Version and OS
Thanks for looking into it
Aaron Buntrock - Bosch Rexroth
The text was updated successfully, but these errors were encountered: