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 - Uffe

Pages: 1 ... 11 12 [13] 14 15 ... 18
181
Bugs and Issues / Adding metatype
« on: January 20, 2014, 09:02:43 pm »
Hi there!


In a recent release of a profile, I added the _metatype attribute to one of my stereotypes. I deployed it in the same MDG Technology as always.

In my target project, I have now observed that some of the pre-existing classes with this stereotype are labelled Class (in dialogs etc) while others have the specified metatype. I would like them all to have the metatype.

Does this sound familiar to anyone? Is there a simple trick I can do to force the metatype onto these elements? And what's the underlying reason for this behaviour (so I can avoid it next time I go fiddling with metatypes)?

Cheers,


/Uffe

182
Bugs and Issues / Classifier as attribute type
« on: October 29, 2013, 06:09:38 pm »
Hi!

If you select a classifier as the type of an attribute, EA does two things: it writes the classifier's name into the attribute's type (which is shown in diagrams), and it stores a reference to the classifier's object ID in t_attribute.Classifier.

If you then change the classifier's name, the attribute type is not updated to reflect this. Is there a reason for this? It would make more sense to me if the attribute type reflected the classifier's name.

Cheers,


/Uffe

183
Bugs and Issues / Profile diagram hacky hack hack
« on: October 24, 2013, 10:25:41 pm »
Hi all!


Does anyone know why the profile diagram isn't properly defined as its own diagram type?

There is a Profile toolbox, cool, no worries. But there is no corresponding diagram. What EA does, rather sneakily, is open the correct toolbox when a diagram is opened and the enclosing package has the «profile» stereotype -- regardless of the diagram type. So inside a «profile» package, you can create diagrams from UML, EA's core extensions, BPMN, whatever you like but they all open the Profile toolbox.

I call hack.

Now if you're working on some profiles in a project, you would like the option of creating a container package, with a single diagram which affords you the ability to create «profile» packages, wherein you construct your stereotypes, diagrams, toolbox pages, etc. But the only way to do that is to give the container package the «profile» stereotype, when it is in fact not a profile at all.

It's not the end of the world but it's wrong and it's bugging me.
Is there a reason for it?

Cheers,


/Uffe

184
Bugs and Issues / EA_OnPostNewPackage: stereotype missing
« on: July 16, 2013, 12:28:03 am »
Hi all,


I've got an Add-In which is supposed to do some magic when certain packages are created.
However, when I get EA_OnPostNewPackage the package I retrieve from the repository has no stereotype: neither Package.StereotypeEx nor Package.Element.Stereotype is set. So the magic fizzles.

Curiouser and curiouser, I'm pretty sure I've actually seen the post event work, albeit intermittently. I'm using 10.0.1007 against a SQL Server 2008 repository if that means anything.

It would appear there's a timing issue in the sending of this event, where the event is fired before the package creation has completed.
Has anyone else seen this?

Btw, I tried retrieving the package in my event handler, then immediately calling Update(). EA did not like that one little bit.
The EA_OnPreNewPackage event which is fired just before does include the stereotype so I suppose there's always that ugly brute of a workaround, But Still.

Cheers,


/Uffe

185
Bugs and Issues / RTF script fragment not called from automation
« on: May 06, 2013, 11:51:55 pm »
Hello,

It seems that when you're creating an RTF document through the automation interface, any template fragments which themselves invoke scripts are not called. SQL fragments are called just fine.

I have also verified that the exact same "top" template calls the fragments correctly when invoked through F8 on the exact same element.

As previously documented (http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1366215976), I can't use SQL fragments because they mangle the formatting.

Am I missing something here?

/Uffe

186
Bugs and Issues / Note rendering in RTF reports
« on: April 18, 2013, 02:26:15 am »
Hi all!


I'm working on some RTF templates in 10.0.1006 and am bumping into an issue: Element Notes are generated with the formatting codes (<ul>, <li>, etc) as part of the text.

This occurs when I output the notes to a table column using a template fragment with an SQL query.

The same element notes are rendered correctly when output to regular text in the calling (non-fragment) template.

Is there an option I need to set?
Alternatively, is this a known problem?


Cheers,

/Uffe

187
Bugs and Issues / Text diagram objects behaving badly
« on: March 27, 2013, 12:32:59 am »
Hi all,


Wondering if anyone else has seen this.

After upgrading to EA10 (1006), text diagram objects have started getting seriously confused.
What happens is this: (just about) all "Text" objects in the entire project have their name fields set to the name of some completely unrelated element somewhere in the project, breaking Hyperlinks and causing general havoc.

Opening the Properties dialog on one of these objects reveals that that, too, is confused and contains an additional, unlabeled drop-down box in the middle of the Address field. The Type field has been blanked.

When I fix these objects, it doesn't take long (a day or so) until they break again. I've even deleted and recreated some of them, to no avail. Only Diagram Hyperlinks seem to be immune.

What the hell is going on? This is a production project with 140 users. For that to suddenly break is not an option.


/Uffe

188
Bugs and Issues / "Author" field retained when copying elements
« on: March 16, 2013, 02:17:00 am »
Hi all,


If you copy an element or a package structure, the elements, diagrams etc retain the original "Author" field.

This is very annoying in a team environment where one person (me) sets up the structures for the different teams to use.

Can we agree this is a bug, or should I log it as a feature request?

I would also like an option to specify that the "Author" field reflect the identity of the last updater, rather than remaining fixed until explicitly modified.
But I wouldn't call the current behavior a bug in this case.

Cheers,


/Uffe

189
Bugs and Issues / Truncated attribute initial values
« on: June 20, 2012, 01:12:03 am »
OK, racking my brains here.

I've got some Nodes with Attributes representing domain names, with the name stored in the Initial Value of a typeless attribute named "dns_a".

When shown in a diagram, the initial values get truncated after 15 characters, which is a bit short for most domain names.

Seems like a simple option needs to be set somewhere - but I cannot find a setting for this. Where the blinking flip is it?

Thanks,


/Uffe

190
Bugs and Issues / Include reference data in MDG Technology
« on: June 21, 2012, 04:13:52 pm »
Hi!

I would like to define some project roles and make them available in several projects. These fall into the "reference data" category, and the MDG Technology Creation Wizard does not include an option for them.

Is there a way to include project roles or other reference data in an MDG Technology XML file?

Cheers,

/Uffe

191
Bugs and Issues / SQL search macros not working?
« on: June 19, 2012, 12:00:25 am »
Hey guys,


This seems weird, but...
I can't get the SQL search macros #WC# or #Author# to work.

I've tested on 9.2.921 against a SQL Server repository, and with 9.3.934 on an .EAP file.
In both cases, the construction
Code: [Select]
WHERE Name like '#WC#lass#WC#' fails to return anything, but using the correct wildcard characters (% and *, respectively) returns all "Class1" elements.

Similarly, the construction
Code: [Select]
WHERE Author like '#Author#' returns nothing, but if I substitute the text from the relevant option it works.

I tried using the #Author# macro in a non-SQL search filter - and that works.

Clearly I must be doing something wrong, but I can't see what.
Anyone else spot it?

Thanks,


/Uffe

192
Bugs and Issues / Association Class and Composite Diagram
« on: May 31, 2012, 05:57:01 pm »
Hi!


I've noticed some weird behavior concerning association classes: it seems a class can be either an association class, or be a composite element with its own diagram.

First I create an association class between two other classes.

If I then make the class composite, it is no longer displayed as an association class in the hover tooltip or properties dialog. It retains the reference to the association connector.

If I remove the class from the diagram, then right-click the connector, the "Find Association Class" and "Show Association Class" options are still available.
But if I pick "Show Association Class", EA removes the link between the class and the connector.

If I then place the class in the diagram again an right-click it, I can select Advanced - Association Class and pick the association.
This makes the class non-composite. Its contained diagram is still there.

I've noticed that the NType column in the t_object table switches between 17 for an association class and 8 for a composite one.


Does anyone know of a reason why association classes should not be allowed to be composite?
Or is this simply a bug?

Cheers,


/Uffe

193
Bugs and Issues / Individual model document layouts
« on: May 22, 2012, 01:01:49 am »
Hey chaps and chappettes,


I'm trying to put together a neat-looking master document for a model.
It consists of two model documents, each using its own RTF document template. One dumps all the diagram images and the other creates tables of activities.
I want my diagrams to be in landscape layout, while the tables and the master itself should be portrait.

I can go into my diagram template and change its layout using the File - Printer Setup option. This yields the correct result when I select a package and generate a document with this template.

However, when I generate using the master document, I get all pages in portrait layout, including the ones with the diagram images.
The diagram images shoot off over the right-hand margin, indicating that they honour the selected page layout but the master document does not.

Is there an option I can set somewhere to make the master document generate different page layouts for the different model documents? Or is this a known limitation? (Or bug?)


Cheers,

/Uffe

194
Bugs and Issues / Version control: configure existing package
« on: May 14, 2012, 04:38:12 pm »
Hi!

Situation:
  • A small project (4-6 people), using separate .EAP files and external version control (ClearCase).
  • Container package ("Use Cases") is controlled.
  • Individual packages ("Use Case 001"), directly beneath the container package, are also controlled.
  • The structure has been set up by someone who is no longer with the company. The remaining people are non-power users.
  • Someone has added a new "Use Case 094" and made it controlled in their .EAP file, and checked "Use Cases" back in.
  • After Get All Latest, "Use Case 094" shows up in the others' .EAP files as a package with a single red dot on the left (the bottom icon in the Project Browser Indicators list). It has no contents.
What is the correct procedure to include this in the other users' projects? Is it
1) Refresh the version control repository
2) Package Control -- Get Package?

Just want to make sure before I tell them what to do.


Cheers,

/Uffe

195
Bugs and Issues / Upgrading SQL Server repository
« on: April 25, 2012, 09:34:44 pm »
Hi!

A client is using a hosted SQL Server 2005 for an EA project, and would like to upgrade to SQL Server 2008.
Does anyone here know of any issues with this?

Cheers,


/Uffe

Pages: 1 ... 11 12 [13] 14 15 ... 18