Closed ylussaud closed 3 years ago
When loading the TemplateCustomProperties we should remove unused variables.
I can't reproduce this issue. After the following steps unused variables are removed:
At this point the template property wizard reflect the variables used in the template.
I have observed recently is that after removing a variable from the template (such as rootLogicalComponent in the above example) by replacing it with an m:let variable of the same name, it (sometimes) remains to be displayed in the template properties as a template variable and the validation of the template generates an error
{m:let <— The variable mask an existing variable (rootLogicalComponent).rootLogicalComponent = myModel…}
When the contents of the template is copied into a new template, this issue does not occur anymore - only the myModel variable is displayed in the template properties.