Book a Demo

Author Topic: "Is Active" parameter is missing from XMI export  (Read 9788 times)

Radioface

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
"Is Active" parameter is missing from XMI export
« on: December 17, 2010, 08:50:16 pm »
I'm using EA integrated with ClearCase (version control tool) and I'm finding that the "Is Active" option on my components un-checks itself when I perform a ClearCase check-in and submit the updates to source control.  Initially, it appears fine until I do a "package control > get latest" or when someone else views the diagram.

Furthermore, when I choose "package control > compare with controlled version", there doesn't even seem to be a field for "Is Active".  There are entries for "Is Leaf", "Is Spec" and "IsRoot" but nothing for active.

I initially raised this in the general forum and someone suggested I investigate the XMI export data.  A snippet of the exported data is shown below.

I'm using EA v8.0.864 by the way.

Code: [Select]
<Properties>
      <Property name="Abstract" model="false" baseline="false" status="Identical"/>
      <Property name="Alias" status="Identical"/>
      <Property name="Author" model="Daniel King" baseline="Daniel King" status="Identical"/>
      <Property name="Complexity" model="1" baseline="1" status="Identical"/>
      <Property name="IsLeaf" model="false" baseline="false" status="Identical"/>
      <Property name="IsSpec" model="false" baseline="false" status="Identical"/>
      <Property name="IsRoot" model="false" baseline="false" status="Identical"/>
      <Property name="Keywords" status="Identical"/>
      <Property name="Multiplicity" status="Identical"/>
      <Property name="Name" model="Components" baseline="Components" status="Identical"/>
      <Property name="Notes" status="Identical"/>
      <Property name="Persistence" status="Identical"/>
      <Property name="Phase" model="1.0" baseline="1.0" status="Identical"/>
      <Property name="Scope" model="Public" baseline="Public" status="Identical"/>
      <Property name="Status" model="Proposed" baseline="Proposed" status="Identical"/>
      <Property name="Stereotype" status="Identical"/>
      <Property name="Type" model="Package" baseline="Package" status="Identical"/>
      <Property name="Version" model="1.0" baseline="1.0" status="Identical"/>
      <Property name="Classifier" status="Identical"/>
      <Property name="Visibility" status="Identical"/>
      <Property name="Concurrency" status="Identical"/>
      <Property name="Cardinality" status="Identical"/>
      <Property name="Style" status="Identical"/>
</Properties>

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: "Is Active" parameter is missing from XMI expo
« Reply #1 on: December 17, 2010, 10:12:27 pm »
Hi,

You need to formally report the bug using the appropriate bug report forms linked to below...

Posting here isn't sufficient for Sparx to act on it, although it does the user base a great service by alerting them.

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Radioface

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: "Is Active" parameter is missing from XMI expo
« Reply #2 on: December 17, 2010, 10:50:47 pm »
Oh I see, many thanks for pointing that out.  I'll submit a formal report now.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: "Is Active" parameter is missing from XMI expo
« Reply #3 on: December 20, 2010, 08:24:20 am »
Um.  It is in the XMI (snippet of my test case below).  The sample you provided is I believe the diff report.

Code: [Select]
<UML:Class name="Class1" xmi.id="EAID_1E8059A2_4968_48c9_9753_46E212B9A41A" visibility="public" namespace="EAPK_AAA66157_2612_4116_8528_288F153AD071" isRoot="false" isLeaf="false" isAbstract="false" isActive="true">

Radioface

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: "Is Active" parameter is missing from XMI expo
« Reply #4 on: December 20, 2010, 08:12:25 pm »
Correct, it is in the XMI for certain types of object but not for components it seems.  And that was a diff report I posted, it showed all the available fields as there were no differences.  Here is a line taken from the actual XMI export.

Code: [Select]
<UML:Component name="FileManager" xmi.id="EAID_8C3B6E73_ADB6_4e85_BC45_493EFDDC18C2" visibility="public" namespace="EAPK_C1E7BED4_CC08_42d1_A976_24D7233F4D8C" isRoot="false" isLeaf="false" isAbstract="false">