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 ... 10 11 [12] 13 14 ... 18
166
Bugs and Issues / Linked document and element update time
« on: August 28, 2015, 05:58:48 pm »
Hi all,


If I've got a «Document» and I edit its contents, the element update time is unchanged. This would only be a minor annoyance if not for the fact that the element is not marked as modified in a baseline comparison.

Is this by design or a bug? I'm on EA 11, btw.


/Uffe

167
Bugs and Issues / CSV import: tagged values
« on: January 29, 2015, 07:20:06 pm »
Hey hi!


I've got an Excel spreadsheet I need to import and which will need to be reimported on a regular basis (monthly).
The spreadsheet has a dozen-odd columns which I place into tagged values. I import the rows as non-stereotyped Components, and all tags are simple text; I haven't specified any tagged value types in the project.
In other words, neither the set of tags nor the value ranges are predefined, everything's created on the fly.

If a cell is empty, no corresponding tag is created. That's fine.
But I've noticed that on reimport, if a cell has become empty (ie had a value in the previous import but not now), the corresponding tag is not deleted.

I assume this is by design -- EA supports duplicate tag names, and the tag GUIDs are not included in a CSV export. But what about using a profile?
Would the tag be cleared if I used a stereotype with a predefined set of tags?

Cheers,


/Uffe

168
Bugs and Issues / EA busy when idle
« on: January 20, 2015, 10:42:29 pm »
Hi all,


I've got a problem with a specific repository. Whenever I connect to this repository, EA starts doing something in the background, causing unresponsiveness in the GUI to the point where the tool is essentially unusable.

According to the task manager, a CPU spike occurs about every two seconds and causes the "I/O Other" counts to increase (the I/O read/write counts are not affected). Each time, a 44K chunk of memory is allocated and deallocated. Over time, EA consumes about two CPU seconds a minute when supposedly idle.

The repository has recently been set up and transferred from an .EAP file. There are several other repositories on the same server, and none of them are experiencing the same issue.

The connection uses lazy load. External version control is not configured. The reusable asset service is not used.

Auditing had been switched on at some point. Nobody's owned up to this and I've switched it off, but this has had no effect.

I've tried disabling all Add-Ins -- no effect.

The repository is on an MS SQL Server server, and I'm using EA 1112 with floating licenses (corporate). According to the DBAs the transaction log is not unexpectedly large.

Anybody know what's going on?

Cheers,


/Uffe

169
Bugs and Issues / Do RelatedElement shape scripts work at all?
« on: December 12, 2014, 10:13:35 pm »
Hi!


I'm working on a profile with some shape scripts, and I need to use the RelatedElement script -- but it doesn't seem to work. At all. Even copying the scripts from the help file gives no results.

Let's say I create a stereotype with the following shape script:
Code: [Select]
shape RelatedElement {
      SetCompartmentName("connections");
      AppendCompartmentText("Element.Name");
}

shape ChildElement {
      SetCompartmentName("kiddies");
      AppendCompartmentText("#Name#");
}
I then create an element (S) with that stereotype, plus one child element which I place inside it in the project browser.
I also create two other elements (X and Y). I draw a Dependency from X to S, and one from S to Y.

The diagram displays the "kiddies" compartment, and I can select presentation of it in the corresponding dialog, all's well.
But the "connections" compartment doesn't show up at all.

Is this thing simply not working, or am I doing something wrong?
I have tried the sample scripts exactly as they appear in the help file (with the check for connector type etc) -- no go. I've also tried just setting a fix text in the compartment -- nope-a-dope.

I'm on 1107, but there's no mention of any changes to the shape scripts anywhere in the 11.1 history.

Any clues?

Cheers,


/Uffe

170
Bugs and Issues / EA 11 RTF bork bork bork
« on: October 30, 2014, 01:54:52 am »
Hi all,


Having very serious issues with EA 11 and RTF document generation. There is an earlier thread on this, but there's no resolution.
  • EA crashes during generation. No error message, just terminates.
  • EA crashes during template editing - sometimes simply from selecting a bit of text and hitting Ctrl-C.
  • I've even observed bit rot, where a template that was working suddenly stops working, after making non-template changes to the MDG Technology and regenerating the XML file.
My templates were originally written in EA 10 (some in EA 9). Does anyone have any magic recipe for fixing these and making sure they don't break again?

Cheers,


/Uffe

171
Bugs and Issues / Apply Auto Naming and Security
« on: August 21, 2014, 06:55:37 pm »
Here's a weird one.

In a security-enabled repository, in order to apply auto names to elements the package must be locked - but the elements must be UNlocked. Yer what?

This is the behavior in 1009, and there's no mention of any changes in the version histories.

Is this really by design? If so, what's the reasoning behind it?


/Uffe

172
Bugs and Issues / "No current project" when project is open
« on: August 12, 2014, 07:36:33 pm »
Hi all,


If you open a project by entering a connection string in the Open Project dialog, and that connection string omits a project name so it looks like EAConnectString:--- DBType=etc etc, EA 10 opens the project but displays "No current project" in the window title.

Probably just cosmetic, but there's always the possibility that some flag is set incorrectly in a way which affects other stuff. Can someone check if this has been found and fixed in EA 11?

Cheers,


/Uffe

173
Bugs and Issues / Execution environment and stereotypes
« on: February 19, 2014, 02:01:38 am »
Hi there!


The presentation of stereotypes for execution environment seems a bit screwy.

If I set my own stereotype on an execution environment the element is presented in diagrams as «executionEnvironment,myStereotype». This also applies if I create my own stereotype extending executionEnvironment in a profile.

By contrast, if I set my own stereotype on an interface, it is presented simply as «myStereotype», which is what I want. The «interface» stereotype is displayed only if there is no other stereotype on the element.

In fact, if I tell the diagram not to show element stereotypes, «executionEnvironment» is still shown (but «myStereotype» is not).

Is there some obscure passage in the UML spec to warrant this? Is there some even more obscure EA option I can jiggle with to work around it?

I tried writing a shape script and print the Stereotype field (not StereotypeEx). This resulted in only «myStereotype» being displayed, but surely there must be a better way?


Cheers,

/Uffe

174
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

175
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

176
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

177
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

178
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

179
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

180
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

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