Book a Demo

Author Topic: Issues running add in with EA v. 8.0.855  (Read 3862 times)

rjsmith

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Issues running add in with EA v. 8.0.855
« on: April 24, 2010, 06:24:16 am »
Hi,
  I was updating an add in I created an originally ran with v. 7.5.893 (I think) of EA and saw some funky behavior when running the new add in using EA v. 8.0.855.  When I started debugging, I noticed that the Package.Elements.Count was not returning the correct number of elements for my packages.  I'm also getting exceptions thrown and have had EA crash on me multiple times (I didn't experience these issues with 7.5).  I tried updating the interop library from v. 2.10.238.1 to 2.10.0.0 but saw no improvement after doing so.

Has anyone else run into issues with add ins in the new version of EA?

Any assistance is appreciated!
Becky

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: Issues running add in with EA v. 8.0.855
« Reply #1 on: April 25, 2010, 10:04:17 pm »
As to the Package.Elements.Count problem, see http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1271406683.


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Issues running add in with EA v. 8.0.855
« Reply #2 on: April 26, 2010, 03:42:16 pm »
Becky,

I didn't experience crashes, but as Frank mentioned I did run into the Package.Elements issue (patch and workaround are mentioned in that topic)

Geert

rjsmith

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Issues running add in with EA v. 8.0.855
« Reply #3 on: April 26, 2010, 10:29:27 pm »
Frank, Geert,
  Thanks for pointing me to the other topic.  However, in my case, all the elements ARE children of the package (at least that's how they're displayed in the project browser).  Based on the notes in the other thread, the Package.Elements should return elements that are direct children of the package, but not elements that are "owned" by other elements within the package.  This would lead me to believe that there is an issue with either my database, or the "fixed" implementation.

Any idea where I go from here?
Thanks!
Becky


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Issues running add in with EA v. 8.0.855
« Reply #4 on: April 26, 2010, 10:50:07 pm »
Becky,

Check the t_objects table.
The bug I found was that elements don't appear in package.Elements if their parentID is NULL (or different from 0 in version 8.0)
The patch supplied by Sparx supports sets the parentID's to 0 where they are NULL.

Geert