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 ... 6 7 [8] 9 10 ... 14
106
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

107
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

108
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

109
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

110
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


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

Geert

112
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

113
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

114
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

115
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

116
Bugs and Issues / Cannot remove stereotype
« on: April 29, 2013, 05:34:01 pm »
If a user doesn't have the "Configure Stereotypes" right he cannot remove a stereotype from an element.

Steps to reproduce:
- Log in with a user without "Configure Stereotypes" rights
- Create a new element and choose a stereotype
- Save element
- Open element again and try to remove the steotype
   - You can't remove it using the dropdown since there's no <none> selection available
  - You can't remove it using the [...] button by unchecking the stereotype since that doesn't seem to have any effect.

Reported to Sparx

Geert

117
Bugs and Issues / UML v10 beta 2: where is Set Attached Links?
« on: November 15, 2012, 12:09:33 am »
Im trying to remove a note link from a note on a sequence diagram.
Before I used "Set Attached Links" to remove a link, but now I can't find that menu operation anymore.

Anyone know of an alternative way?

Geert

118
Bugs and Issues / EA Navigator 2.3 causes EA freeze
« on: December 03, 2012, 07:53:59 pm »
In some circumstances the EA Navigator 2.3 causes EA to freeze up with no alternative but to kill it using the task manager in Windows.

The bug has been fixed in version 2.3.5.0 and above that can be downloaded here.

I'm sorry for any inconvenience. I'm posting it here in case anyone would be searching the forum for this problem.

Geert

119
Bugs and Issues / Enumerations not converted (EA 10 beta)
« on: October 18, 2012, 06:38:38 pm »
In EA 10 enumerations are now a proper element type instead of a  stereotyped class.
The release notes state:
http://All existing enumerations handled to match previous version.

Does anyone know what that means? It certainly doesn't convert my existing classes with stereotype enumeration to the new enumerations.
That means that as we start using EA 10 we will have a mix of old and new flavor enumerations in the model :-/

Geert

120
Bugs and Issues / Hyperlinks in Linked Documents broken
« on: July 20, 2012, 06:30:23 pm »
I just sent a bug report to Sparx
I'm on version 9.3.934

Quote
Hi,

We have a large number of linked documents in our model with links to elements and diagrams.
We noticed that the hyperlinks in all but a few document are broken.
If we copy paste the content of such a linked document into Word it shows Chinese characters as the url (example: [ch25892][ch25964][ch25965][ch29806][ch12090][ch31535][ch12356][ch12337][ch13874][ch14404][ch16941][ch14644][ch11570][ch25652][ch14132][ch16685][ch14643][ch11570][ch16695][ch17206][ch13381][ch17720][ch13618][ch13107]%7d)

As a test I opened the same model in EA version 7.5.850 and in that version the hyperlinks still work.

Please fix this ASAP as we have invested quite a lot in these documents.

Geert

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