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.

Messages - Uffe

Pages: 1 ... 53 54 [55] 56 57 ... 73
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.



This has been verified as an Issue - the Issue Number is: 13055290.

Oh, and by the way: headers aren't generated either. Same result: no header generated when called from the automation interface, header generated when invoked through F8 (same template, same element).

I haven't tried footers, because somehow it doesn't quite feel as if performing basic functional testing on EA is my job.  >:(

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

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 (, I can't use SQL fragments because they mangle the formatting.

Am I missing something here?


Bugs and Issues / Re: Note rendering in RTF reports
« on: April 26, 2013, 06:40:16 pm »
OK, thanks.

For reference, I wrote a JScript to retrieve the information, based on the sample script in the help file.

I did not use GetFieldFromFormat() or GetFormatFromField(); instead I used formatted="1" in the tags.

XML DOM CreateElement balks at creating a tag whose name contains spaces, so I had to do a replace on the completed XML string.

If anyone has a neater way of doing it, I'm listening. :)


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?



Bugs and Issues / Re: Text diagram objects behaving badly
« on: March 27, 2013, 11:39:28 pm »
OK, thanks for that.

Any ETA on that fix? People are kinda champing at the bit over here...

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.


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.



Bugs and Issues / Re: Truncated attribute initial values
« on: June 20, 2012, 02:45:22 pm »
Ah. OK, thanks. I'll set it up with tagged values instead.

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?



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

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?



Bugs and Issues / Re: SQL search macros not working?
« on: June 19, 2012, 03:08:49 pm »
Whoa - that's seriously scary!  :o

The SQL tab kinda-works-but-not-quite when you've got the simple (filter-type) search definition up. When you have created a SQL search and are editing that in the Search Builder tab, that works as specified in the manual.

Put another way, the macros don't apply to the SQL tab, only to SQL entered into the Search Builder tab.

Not entirely konc... cons... that.

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?



Bugs and Issues / Re: Association Class and Composite Diagram
« on: June 05, 2012, 03:27:39 pm »

Yes, thanks. I've reported it and had it confirmed as a will-be-fixed. Issue 12062975.



Pages: 1 ... 53 54 [55] 56 57 ... 73