“Override Attribute Initializers” behaviour in EA14.0 changed over “Set Run State” in EA12.5

瘦欲@ 提交于 2020-01-04 22:27:10

问题


I observed a behviour in EA14.0 that has been changed from the behaviour in EA12.5.

Summary

In EA12.5 when using a Deployment Specification one had to set the Instance Classifier on the Deployment Specification object in order to be able to set the run state (Ctrl+Shift+R). It was not necessary to set a Parent on the object. In EA14.0 one has to specify a Parent from which the attributes are derived that can be overridden, and I addtion the Instance Classifier has to be set but it can be set to an arbitrary object (not related to the Parent).

In the following sections I outlined the steps I executed:

Setting a run state in EA12.5

  1. Set Instance Classifier

  2. Select Select Run State

  3. Define Variables from Instance Classifier

  4. Result of a Deployment Specification As we can see the actual Instance Classifier class is visible on the Deployment Specification object. It serves as the basis from which the Variables can be configured.

Setting attribute initializers in EA14.0

  1. When trying the same steps in EA14.0 I get the following error message:

  2. However, when I additionally specify a Parent on the Deployment Specification object I can configure the variables defined the Parent class.

  3. In this case it does not matter which Instance Classifier I specified. In the following figure I set the Instance Classifier to an empty class called Totally unrelated object (with not attributes defined).

  4. Side note: when I open a model/EAP-file created in EA12.5 in EA14.0 I can still see the previously configured run states, but am not able to any more modify them (unless I set the previously assigned Instance Classifier to the Parent).

Questions

So this seems to be a breaking change to me and my (multipart) question is:

  1. Am I doing something wrong?
  2. Does anyone know anything about this changed behaviour and the possible rationale behind it?
  3. Does anyone know an easy trick how I can migrate all my existing Deployment Specification objects in my multiple models?

Thank you for your answers and suggestions!

Regards, Ronald

来源:https://stackoverflow.com/questions/50384657/override-attribute-initializers-behaviour-in-ea14-0-changed-over-set-run-stat

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!