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] 2 3 ... 93
1
General Board / Re: Slow server
« on: February 28, 2020, 11:55:45 pm »
Also, images take much longer to load. So I can see the text in a thread and in the user info on the left, but images come in much later, if at all. This includes smileys in posts, logos in user info and the new posts / no new posts indication on the forum front page.

I'm also getting large numbers of spelling-error indications in the editor, which look like it's assuming I'm writing in Swedish, and some words are replaced as I type, eg word (becomes Word) and spelling (becomes Spelling).

It's not just the forum either. The manual is also unresponsive, as are the product pages.

/U

2
General Board / Re: Slow server
« on: February 28, 2020, 11:31:33 pm »
I can confirm. From Belgium it's also damn slow.
Sometimes it even returns a a timeout error.
Well strictly speaking it's your browser that times the connection out, not the server. :)
But yes, it sucks from Sweden as well and has for a few days, from about midmorning (local) alhough I have been able to get through without issue in the early morning.

I tested a couple of other .au sites, eg ABC and realestate.com.au and they're responding just fine.

/Uffe

3
Bugs and Issues / ShapeScript NotesVisible property
« on: February 28, 2020, 06:48:20 pm »
Hello everybody,


In 1310 the NotesVisible property was introduced in shape scripts:
Quote
  • NotesVisible - Available for any element, allows querying if user has requested display of notes for this object or this diagram

Can't get it to work in 1512.

HasProperty("NotesVisible") evaluates to true, so the property does exist. But how do I set it?

I've tried both the diagram's properties (Elements - Notes) and the element's compartment visibility. Either way, the NotesVisible property is stubbornly stuck at false.

What am I doing wrong?


/Uffe

4
Bugs and Issues / Resize makes element ginormous in diagram
« on: February 28, 2020, 06:21:38 pm »
Hi all,


I'm on 15.0.1512, and there's a bug in the element resizing. Sometimes when you grab a corner and start dragging, the element becomes absolutely huge.

If you hit escape before releasing the mouse button, the element reverts back to its previous size.
If you release the mouse button, the element gets the new ridiculous size.
You can undo the change, but the behaviour persists for that element until the diagram is closed and reloaded.

I've noticed this in activity diagrams, but it may not be limited to those. Either way, this is a gigantic productivity killer.

In the history for 15.0, there is one possibly relevant entry
Quote from: 15.0.1513
  • Objects will no longer resize the top-left edges unexpectedly when a base zoom is applied

Is this what that refers to? Because I'm observing this behavior without making any changes to the zoom.
Or does it perhaps mean that the bug strikes when the diagram is in the 100% zoom maybe? In which case it does resolve this?

Thanks,


/Uffe

5
Bugs and Issues / Send / Receive in QuickLinker
« on: February 28, 2020, 06:10:35 pm »
Hi all,


I'm on 15.0.1512, and I'm having issues with Send and Receive elements and the QuickLinker. I've got some stereotyped Actions (Atomic and CallBehavior), and I'm using unstereotyped Send and Receive (the red ones).

The problem is that using the QuickLinker in my custom diagram I don't get a ControlFlow option in the popup menu when drawing a connector from either a Send or Receive to one of my actions. Furthermore, I can't get one to appear by specifying it in my profile's QuickLink artifact either.

Yetfurthermore, if I create a vanilla activity diagram using unstereotyped everything, ControlFlow also does not appear in the popup menu.

Control flows are clearly allowed going from a Send or Receive to an action. Not only logically and by the standard, but also by the manual -- look in the sample diagrams in the manual pages linked above.

So what's going on here?

Why can't I draw a ControlFlow from a Send or Receive to an Action?
Why can't I force it with a QuickLinker definition?

And how do I work around this bug?

TIA,


/Uffe

6
General Board / Re: What's the use of Custom Tables
« on: February 24, 2020, 07:40:04 pm »
Hi Chris,


And welcome to the forum. Please note that I, like most of us here, am not a Sparx employee, just another user.

I've had a play around with the custom tables, and I think they're intended purely as visual representation of non-model data in tabular form. (As opposed to Model Views, which display model data collected via a database query.)
I don't think they can be used in any other functions, since those functions would then have to interpret the custom XML data the user has chosen to put in there and I don't see how they could.

Of course, if you write a script you could parse the XML data that you've put in. But it's hard-coded into the tagged value, not based on a query, so that sounds like it would be of limited use to me.

I'm not sure whether they're given special treatment in document generation, which would make them somewhat more useful. But it's early days so maybe there's more functionality relating to these things in the works.


/Uffe

7
Try outputting the connector type, and its ID (which you can then verify against the database).

/U

8
Automation Interface, Add-Ins and Tools / Re: DBMS versus SVN Versioning
« on: February 21, 2020, 07:53:18 pm »
The RAS works as a kind of version control, one that you can use in a baseline type process and for diffing against your DBMS live model. Or at least that is my understanding. I'm starting to use it, so maybe other RAS users can comment in more detail.
RAS has been around since long before the v4 Cloud Server, and it does indeed work as a kind of version control. In 15.1/4.1 it's been enhanced so that you can now store baselines themselves -- earlier you stored packages (in RAS format) which isn't quite the same thing, although to the end user it's much of a muchness. I haven't tested it out, but I think the main difference (to the end user) is that you work in the baselines GUI instead of the RAS GUI.

I prefer the RAS solution to XMI-based version control (eg SVN) and it's what I usually recommend for mid-to-large installations. But if you're just starting out with EA it's one more thing you have to set up, which means more grunt work before you get to the fun stuff.

There is also a third-party version control solution called LemonTree. No affiliation and I've never tried it, but the LieberLieber guys tend to know what they're doing.

/U

9
Bugs and Issues / Wrong diagram author shown in Properties window
« on: February 21, 2020, 06:22:47 pm »
Hi all,


On 15.0.1512 and a SQL Server repository, the Properties window shows the logged-in user's name in the Author field when t_diagram.Author is null. The window behaves correctly with a null-Author element/t_object.
In this repository we've also got t_authors set up, so that may be a contributing factor.

Can someone check if this has been fixed in a later version?
There's nothing in the histories.


/Uffe

10
Bugs and Issues / Re: Possible to connect to locked element?
« on: February 21, 2020, 03:58:06 am »
If I create a relation to a locked element this locked element is not really changed is it?
Depends on the type of relationship, and the direction.

A generalization is a change to the specialized element, but not to the generalized one. Aggregations, well... I'm too tired. :)

But I'm pretty sure EA actually takes this into account, and only permits those connectors to be drawn which do not constitute a redefinition of the locked element.

Or did I dream it?


/Uffe

11
Hi,


This is an old bug. IIRC EA will store the updated script (which would make it a different bug from the one in the shape script editor), but use an older version. Restarting EA resolves it.

When running a script EA first compiles it, resolving those !INC references. It appears that something goes wrong at this stage causing the compilation to fail and the old file to remain, but EA doesn't realize this and runs the script as if it had succeeded.

Exactly what goes wrong I'm not sure. Could be that the compiler hangs -- I know that EA doesn't do job control very well. It used to be that you couldn't invoke a script-type document template fragment from within a script calling DocumentGenerator because EA couldn't run a script from within another script that way (if they were both in the same language?). I'm not sure whether that's still the case, but point is, this is an area where EA doesn't excel.

But I've always been able to resolve it by restarting.

HTH,


/Uffe

12
Automation Interface, Add-Ins and Tools / Re: DBMS versus SVN Versioning
« on: February 21, 2020, 12:53:44 am »
I'd also add that storing your .eapx or .feap file in Subversion makes no sense except possibly for distribution maybe? As far as Subversion is concerned it's a binary file that you can't meaningfully compare changes in, and Subversion itself is not a backup system.

If you go the version control route, the intended way of working is that you version-control individual packages, not the whole project file. Each user has their own project and check out/in packages as needed. The packages when stored in SVN are actually XMI (text) files.

A DBMS project is not an alternative to version control, as Geert said. It's just a better way of storing the project than keeping it in a single file. A DBMS is much better at dealing with things like multiple concurrent users than a file system is.

As an alternative to version control, you can use baselines. This provides some of the same functionality as version control, but the baselines are stored in the project -- not in an external VC repository.

So there are options. For collaboration I say DBMS hands down. But version control and protection against accidental loss are different requirements, so you need to weigh them against each other.

HTH,


/Uffe

13
Hi guys,


When you generate a document through the GUI you can include a watermark.
Is there a way to include one when you're using the DocumentGenerator?

TIA,


/Uffe

14
General Board / Re: Set default data type to <none>
« on: February 19, 2020, 08:49:30 pm »
Hi Ian,


I'm not aware of one, and I agree being able to set "<None>" as the default would be very useful.

As an alternative, "<None>" could be made the default if the language is "<None>". That way there's no new option to implement, and you-the-modeller can control the behaviour by setting the diagram language.

As a more ambitious alternative, the default feature type (the same issue exists with "void" for operations) could be made part of the setting for a programming language datatype (or "coding datatype," depending on where in the GUI you look). So in addition to specifying the different datatypes you have in your langue, you could specify one to be the default for new features in elements of that language.

Because this "int" thing even strikes when there is no "int" type in the language.


/Uffe

15
Automation Interface, Add-Ins and Tools / Re: Linked document templates
« on: February 19, 2020, 08:15:26 pm »
Duh...  ::)

/U

Pages: [1] 2 3 ... 93