Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Martin Terreni

Pages: 1 ... 6 7 [8] 9 10
106
General Board / how can I insert new-lines in templates?
« on: October 24, 2004, 12:39:03 am »
how can I insert new-lines in templates?

107
General Board / doxygen documentation
« on: October 24, 2004, 12:38:12 am »
does anyone know a pluggin for EA to generate doxygen docs?

108
General Board / merging classes not generated by EA
« on: October 03, 2004, 12:25:15 am »
HI!

    We have models done within EA that we coded outside, and we would like to megthem back in EA after code changes. I tryed it but EA only adds a new class with same name instead of recognising it is the same class and merging it.

any ideas?

109
General Board / replication in CLearCase
« on: September 07, 2004, 03:14:58 am »
I'm working with EA 4.0 in CCase view and I cant make it master, it keeps saying:
" could not add rows needed to make database replicable."
though all files are checked out.
when I do replication outside and inport it to view whenever i try to open a new replication or sync. it  
I get the message:
"cant retrieve full path information for a member replica set"
does anyone know the solution?

110
General Board / group working
« on: August 15, 2004, 06:47:27 am »
I want diferent teams to work on diferent teams and still for me to be able to mearg all their work as packages in a main project.

is it possible?

111
Bugs and Issues / RTF repoting engine problems
« on: August 02, 2009, 11:38:13 pm »
As you may be able to see there are right now ([timestamp=1249219987]) 4 bugs\issues in the first page of the thread regarding the RTF generation.
I was worndering if this feature of EA should meaby be thoroughly reviewed in Sparx to see if there isn't something fundamentaly wrong in its architecture.
Maybe  if it is important enough for the users (and I'm not necsesarily saying it is) it will be better to invest in rebuilding it then in other things.

Maybe it is just coincidence those 4 threads at one time (really might be) but it just maid me wonder...

112
Bugs and Issues / Failing to generate document using access 2007
« on: May 12, 2009, 09:36:44 pm »
Whent rying to generate reposrts (even basic report)  I get error: "Datatype mismatch in criteria exception", then it fails to generate.
7.1 is the same.
Comunicated to Sparx.

113
Bugs and Issues / Model document not generated
« on: May 05, 2009, 11:07:49 pm »
When trying to generate master document where only model document is marked (either for package or element) and nothing gets generated but the yellow remarks of EA.
What should be done to generate document model?  >:(

Am we doing something wrong, is it happening only to us?
BTW -it works for 7.1

114
Bugs and Issues / wan and Lazy not working together
« on: April 10, 2009, 06:12:49 pm »
Hi, I tryed working with WAN optimizer and Lazy load combined, but it gets stacked when trying to add anything either to a diagram or through the tree.
Both Lazy and WAN work OK seperatly, it just hangs when combining.
I think it worked fine duing beta.

115
Bugs and Issues / Selection of elements within layers
« on: January 08, 2009, 08:02:28 pm »
In case there are several layers of objects, with different sizes, there is no option to select the smaller object by defining a select area (with the mouse). when you are defining a select area, all the objects that are touched from this area are selected and not only the objects that are contained in this area. This issue adds design time.

It should work as in Visio/PPT...you only select what is within the selected area, it makes it very difficult to move around a group of elements within a containing one - Very problematic for UI design.


116
Bugs and Issues / package created under checked in package
« on: October 30, 2008, 04:25:08 am »
I have a MDG tech with a profile containing stereotyped packages.
If i open a diagarm any where (checked out) but focus on the tree on a checked in package and drop a pckage from the tool box to the diagram it gets added under the checked in package!!

(of course checking out solves it)

bug issued

117
Bugs and Issues / IDs changed while cheking in\out
« on: September 29, 2008, 06:12:27 pm »
Here is a mailing chain between one of my developers  and Sparx support:
Developer:
Quote
I face a problem in trying to integrate version control handling in my add-in.
When I do check out to a package all the elements inside it get different IDs and the worst is that references of other elements( like element.ParentID, element.classifierID…) that  are in this package also get different IDs.
For example:
 I have an Instance element in package A and its classifier in package B. Then I do check out package B and
 when I try to retrieve element's classifier through element.ClassifierID I get an error because I actually trying to access an element with ID that is not existing.
 
1) Do you have some update – mapping IDs function after checkout to fix all references?
2) Or is there some workaround for this issue?
 
Steps to reproduce:
 
1. define package A and B under version control
2. place classifier element in package B and its instance in package A
3. checkout package B
4.try to find a the classifier through instance.ClassifierID
Support
Quote
Thank you for your email reporting the problems you are experiencing using EA's automation and version control functionality.
 
Your observations are correct - the object IDs do change after a checkout.  This is because when a package is checked out, it is first deleted from the database, then re-imported from the version controlled package file.  The object IDs that you are referring to are like indexes to the objects within the model database tables.  These IDs (and any pointers that you may have)  are invalidated when you perform a checkout.
 
The identifier that remains constant throughout the life of an object is the GUID.  There are functions within the automation interface such as GetElementByGUID( ).  You need to use these functions to find the items and initialise your references, AFTER you have checked out the relevant packages.

I hope this helps to clarify the issue.  Of course, if you have any further queries or problems, please don't hesitate to contact us again.
Developer
Quote
Thanks for your quick response.
 
I know about the option using GUID.
But it is available only as a property of an element itself.
If I want to access other elements  through : ParentID,ClassifierID,SupplierID...of specified element the GUID of these is not available.There are no such properties like: SupplierGUID or ClassifierGUID.
 
So if element's classifier is unfortunately in package that was checked out I can't find it using element.ClassifierID
Support
Quote
There is an Automation function "Refresh".
 
    Element myElement = repos.GetElementByGuid("{EFEDF398-68D0-46f4-9605-FE7547EDDFFD}");
    myElement.Refresh();
 
Looking at the code, this function uses the element's ObjectID to find to reload the object, so the call would probably fail if you called this function on an object that was part of a check-out.  However, for the instance element in PackageA that references a classifier element in PackageB, you should be able to call  myInstanceElem.Refresh( ) after you have checked out PackageB, to refresh to ClassiferID in the instance element.
 
If this does not work for you, or you have other scenarios where this can not be applied, then you will probably need to go through the process of reloading your items and retracing their references, after the checkout.
 
Presumably at some point you have called functions to find the references you need by using the element.parentID and element.classifierID attributes.
 
Maybe you need to relocate this code to a point after you have performed the checkout, or alternately, store the GUIDs of the elements that you have found and then renew your references after the check-out by calling something like the following, for the items of interest;
 
    Package myPackage = repos.GetPackageByGuid("{xxxx-nnn-xx-xx-nnxxnx}");
    Element myElement = repos.GetElementByGuid("{xxxx-nnn-xx-xx-nnxxnx}");
    Diagram myDiagram = (Diagram)repos.GetDiagramByGuid("{xxxx-nnn-xx-xx-nnxxnx}");
 
 
The Automation Interface is not my area of expertise, but as far as I know, it does not include a function to "update mapping IDs".
 
 
I hope this information is of some help.

A couple of things

  • Why is it not mentioned in help?
  • If this is the status why are supplying API operations working with ID? replace them al to use GUID
I think I'm making sence here.

118
Bugs and Issues / Action not going to diagram of behavioral clasifie
« on: September 03, 2008, 03:30:53 pm »
Though creating an invocation of a conposed activity goes to the classifiers diagram on double click, it doesn't work when creating an action "(rom type "normal") and selecting the same activity as behavioral classifier doesn't affect the double click action, it still shows the action properties.

bug opened

119
Bugs and Issues / Tagged not added to stereotyped element througtree
« on: July 29, 2008, 10:44:25 pm »
When adding an element with stereotype from project browser its attributes\tagged values are not added, though when done through tool box they are, this is inconsistent.

120
Bugs and Issues / Password changed to small letters
« on: June 26, 2008, 12:18:44 am »
BUG:
For version 7.1.830.
When connecting to a DB the password is changed all to small letters, so the string needs to be fixed manualy in order to work without asking for password each time.

Bug issued to Sparx.

Pages: 1 ... 6 7 [8] 9 10