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 - Geert Bellekens

Pages: 1 ... 7 8 [9] 10 11 ... 16
121
General Board / BUG: Strip GUID's corrupts database
« on: August 16, 2007, 09:58:48 pm »
I found a major bug in EA (7.0.815)
When importing an xmi file that was created using version control and selecting the option "Strip GUID's", the database gets corrupted someway. It crashes EA (windows application error: The instruction at "0x09bacd3d" referenced memory at "0x0000000c". The memory could not be "read".)
After restarting EA the model is no longer accessible, when trying to load the model EA crashes with the same message.
This bug is not related to the repository type. (I reproduced the error on Oracle, Mysql and .eap file)
It does seem to be related to the version control settings. We have Serena Dimensions (PVCS 10) setup as version control system through the scc interface. It is only when the version control is configured that it has this problem. When using a new project, without the version control setup, it imports fine.
I'll submit a bug report for this issue.

122
General Board / Tagged values content lost on XMI import
« on: August 03, 2007, 04:49:47 am »
Hi,

Another one on the unisys XMI import.
I'm converting my Rational Rose model to EA. In that RR model I had a lot of information in the so-called properties. (like preconditions, purpose etc).
I exported this RR model using the unisys xmi export, and I have imported that into my EA model. That works fine. (as long as you're not working on an Oracle rep; see other post)
The XMI import will nicely create tagged values and copy the content into the "value" field of the tagged value. Unfortunately it will also cut-off the text at 255 chr's without warning! I've had a look into the db-schema and the value field of t_objectproperties is only varchar(255). There is another field (note) that has TEXT (MysQL) datatype, but that is not used.
Another bug report?

123
General Board / "Value too large" when importing XMI
« on: August 05, 2007, 09:49:09 pm »
Hi,

Another one on the XMI import/export.
When exporting an object to XMI (EA xmi export) that has a tagged value, I get an error importing that same XMI file.
This only seems to be happening when you have special characters in the tagged value (tabs, CR-LF,???) and when the total of 255 charachters is used in the tagged value.
I tested this with a plain '123456...' and that was fine.
Tested with the text:
Quote
Er wordt een nieuw mfa record aangemaakt met invulling van de volgende velden
MFA-TYPEA037
MFA-USERID'DISTRI'
MFA-DATVANA037.Debug_message
MFA-DATTOTA037.Fin_message
MFA-DATRECsysteemdatum
MFA-TYPERECORDA037.Type de record
MFA-ANOMALIEA037.C


and when trying to import the xmi I got a database error: "ORA-12899: value too large for column "D00ARCH01"."T_OBJECTPROPERTIES"."VALUE" (actual: 262, maximum: 255)"
I'm very worried about this since the version control add-ins use this xmi import/export principle; and i'm afraid it is going to be a problem there too. (I'm testing version control integration in the next weeks)

I'll be submitting a bug report for this issue.

124
General Board / Best practices on branching?
« on: August 16, 2007, 10:19:10 pm »
Hi,

I was wondering what would be the best practice in handling branching.
We have EA 7.0.815, a central (oracle) repository and a version control system (Serena Dimensions) integrated using the scc interface.
Imagine following situation:
We have released our application with version 1.0
We are now working on towards version 2.0
We get a major bug report that requires a patch on version 1.0 (so 1.1).
Now what is the best way to branch (a part of) the model to create this 1.1?
I tried getting the xml file (v 1.0) from the version control system, and importing that into a new root model (selecting "strip GUID's") to create an alternative copy, but that resulted in corrupting my whole project. (see post http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.pl?board=general;action=display;num=1187333928)

125
General Board / Compare utility evaluation
« on: August 09, 2007, 11:14:32 pm »
Hi,

I'm evaluating EA (7.0.815 on Oracle repository) and I'm currently looking at the compare utility. I found some weird things, and I would like your thoughts.
- I started trying to compare a package with a generated xmi file. So logically I used the context menu option "export package to xmi file..." on a test package to create the xmi file. I did not change any of the default settings, so it created an xmi 2.1 file. I then tried to compare the created xmi file with my (unchanged) package. To my surprise the compare utility gave the [sarcasm] very usefull [/sarcasm] message: "An error has occured during the compare process"
- After some fiddling about I found the option to control my package and thus exporting it to an xmi file. (xmi 1.1). I did the same thing, compare the created xmi file with my unchanged package; and to my surprise I still got a lot of changes, and even some deletes ?!?

Do any of you have any experience with the compare utility? Because, like it is now, reporting changes without changing anything, this seems totally useless to me.


126
Bugs and Issues / Formatted fields in SQL Fragments
« on: December 02, 2015, 09:23:43 pm »
In v12.1 it should be possible to use formatted notes in SQL fragments.
According to the help it says:
Quote
It is possible to force a field to be processed as formatted notes, by providing a column in this format:
    custom >
     {Name}
     <fieldname>-Formatted     (for .eap (JET) repositories, or <fieldname>.Formatted for other types of repository)
     < custom
In your custom SQL Query statement, you must use an alias matching the template field name; for example (in MySQL):
     SELECT ea_guid AS CLASSGUID, Object_Type AS CLASSTYPE, Name, Note as "Note.Formatted" FROM t_object
     Where Object_ID=#OBJECTID#

I tried to do that on .eap file, but it doesn't seem to work:
template:
Code: [Select]
custom>
{Description-Formatted}
<custom
Custom Query:
Code: [Select]
select c.[SourceCard] AS SMultiplicity, o.[Name] AS Source, c.[Name] AS ConnectorName,
c.[DestCard] AS TMultiplicity, ot.[Name] as Target, c.[Notes] AS [Description-Formatted]
from (( t_object o
inner join t_connector c on c.[Start_Object_ID] = o.Object_ID)
inner join t_object ot on ot.Object_ID = c.[End_Object_ID])                      
where o.Object_ID = #OBJECTID#
and c.[Connector_Type] in ('Association', 'Aggregation')

The in the output I only get the text Description-Formatted, not the formatted notes I was after.

A) what am I doing wrong?

B) Who decided to use a . notation that isn't compatible between JET and the SQL databases, and in doing so making my templates dependent on the database type?

C) Why is the documentation partially for Jet and partially for MySQL? Is it too much to ask to make a complete example for both?

Geert

127
Bugs and Issues / V12: can't check attribute's type
« on: October 21, 2015, 05:58:44 pm »
Before v12 you could click on the [...] button next to the type field of an attribute to select a classifier to serve as datatype for the attribute.
If the attribute was already linked to a datatype the elementpicker dialog would already select this dataype in the tree view.

This was AFAIK the only native way to check which datatype was linked to your attribute. (I never used this for myself since I have this build into the EA Navigator)

But now since v12 the [...] has been replace with the drowdown option Select type.... This also opens up the element picker dialog, but it no longer selects the existing datatype if that was already linked.

So now the EA Navigator is the only way I can see if an attribute is linked to a datatype, or if the datatype was simply typed in.

Geert

128
Bugs and Issues / Addins broken in Lite edition v12
« on: October 08, 2015, 12:22:46 am »
The lite edition of v12 broke all of my addins >:(

I am not amused.

Example code:
Code: [Select]
this.navigatorControl = this.model.addWindow("Navigate", "TSF.UmlToolingFramework.EANavigator.NavigatorControl") as NavigatorControl;The addWindow returns null for the lite version.

This used to work perfectly fine in version 10.

bug reported

Geert

129
Bugs and Issues / Extending ActivityInitial/Final doesn't work
« on: September 15, 2015, 11:47:00 pm »
I'm making a UML profile, and I have created stereotype that extends ActivityInitial and one that extends ActivityFinal.
After adding attributes tot he stereotype I expected to see them as tagged values in my model.
But some some reason the tagged values don't appear. If I change the extend to Action then the tagged values appear without a problem.

Has anyone experienced this?
Have I missed something?

Thanks

Geert

130
Bugs and Issues / Bugs will be fixed in the next release
« on: June 11, 2015, 03:58:01 pm »
The last two days I got two emails from Sparx support stating that the bugs I reported would be fixed in the next release.

I must say I really appreciate that, and it makes me more inclined to report bugs in the future.

Keep up the good work guys!

Geert


131
Bugs and Issues / Installer for V11 still mentiones RC2
« on: April 23, 2014, 03:44:53 pm »
Might get people confused.

Geert

132
Bugs and Issues / V11 regression on Sequence Diagram manipulation
« on: March 28, 2014, 08:20:47 pm »
In V10 the manipulation of sequence diagrams was greatly improved.
Moving messaging in a sequence diagram was really working like it should.
Now in V11 some of the old quirks has come back.
When I now move a message down, all the messages and fragments below this message are moved down as well, except for Notes. They just stay where they were again, completely messing up my diagram layout.

I'll send in a bug report as well.

Geert

133
Bugs and Issues / InvokeConstructPicker only works for Elements
« on: August 30, 2013, 07:40:07 pm »
I finally got around to use the new InvokeConstructPicker operation to select some items for my document generator add-in.

This works fine when selecting elements, and it looks like it works find for Attributes and Operations as well, but sadly the resulting ElementID is always 0.
So although I get the dialog, and the user can select either an operation or an attribute, I have no way of knowing which attribute or operation was selected ::)

May I suggest to change the returntype into the guid? Or may even a list of GUID's to allow for multiple select?

Thanks

Geert

134
Bugs and Issues / GetContextItem reports incorrect element
« on: July 31, 2013, 10:53:41 pm »
The operation Repository.GetContextItem doesn't always return the correct object.

When you first select something in a diagram, and then directly right click on an operation in the project browser then GetContextItem returns the owner element of the operation iso the operation.
GetTreeSelectedItem does work correctly in such a situation.

My workaround for the EA_GetMenuItems:
Code: [Select]
           EA.ObjectType selectedType;
            Object selectedItem;
            if (Location == "TreeView")
            {
                //sometimes EA doesn't correctly returns the selected item using GetContextItem when right clicked in Project browser.

                selectedType = Repository.GetTreeSelectedItem(out selectedItem);
            }
            else
            {
                selectedType = Repository.GetContextItem(out selectedItem);
            }

Will report to sparx as well.

Geert

135
Bugs and Issues / EA v10.0.1008 Add Composite Diagram disabled
« on: July 17, 2013, 04:54:03 pm »
The enable/disable of the context menu option Add|Composite Structure Diagram and Add|Select Composite Diagram  in the project browser isn't working like it should.

Wether is is disabled or enabled seems to depend on the last time you right clicked on an element in a diagram. If the diagram was locked (and thus the options where disabled) they are disabled for all elements in the project browser (or something like that).

I'll report a bug.

Geert

Pages: 1 ... 7 8 [9] 10 11 ... 16