Skip to content

[Table] Bad Cell Contents when we use inheritance between Stereotypes (On #MR60 with the provided StereotypeTable)

Steps to reproduce:

  1. Create a new Profile, with 2 Stereotypes, A and B.

  2. Stereotype A extends the Metaclass Class

  3. Stereotype B Inherits from Stereotype A (Generalization link)

  4. Create a Property prop, typed by String in StereotypeA.

    1. By construction Stereotype B inherits from the Property defined in Stereotype A
  5. Deploy the profile

  6. Now, you can create a Model, with 2 Classes. Apply Stereotype A on the first class and Stereotype B on the second Class.

  7. Create a Stereoytpe Table instance

  8. The new table contains the 2 classes in rows and 2 columns, as expected.

  9. The Cell for representing the property defined by Stereotype A displays N/A for the Class stereotyped with Stereotype B

    The current table implements take in account the inheritance between Stereotypes. This point should be fixed.

    Stereotype Table Studio.zip

    ProfileForIssue246.zip

    ModelForIssue246.zip

image.png

Edited by Vincent Lorenzo