Recent Posts

Pages: 1 2 3 [4] 5 6 ... 10
31
Bugs and Issues / EA.Repository.OpenFile asks for password, ProjectTransfer fails
« Last post by siaccarino on August 16, 2018, 05:13:00 pm »
Hello,

Prerequisites:
  • EA v12 DB on a MySQL server
  • Windows domain
  • Model security is enabled
  • Users are added with their windows domain credentials
  • Special user with password added
  • Special user without password added
  • Export console tools are written in C# .NET 4.6.2

Now I want create some Jenkins build jobs that automatically export data.

On my local machine I can call (C#)
  OpenFile(connectionString)
or
  ProjectTransfer(connectionString, eapFileName, logFileName)
without any issues.

On every other machine within our domain everything leads to a dialog to enter a password (only password, no username) no matter if I set SuppressSecurityDialog to true or not. But they can open the DB without entering credentials with EA application.

  • OpenFile(connectionString) - user domain credentials seems to be ignored
  • OpenFile2(connectionString,specialUserWithoutPassword,"") - this user does NOT have a password!
  • OpenFile2(connectionString,specialUserWithPassword,password) - password is ignored!

And ProjectTransfer fails completely with an DB exception.

For me it looks like the EA COM connection (Interop.EA) always tries to connect with current user account - even in OpenFile2() - and it fails to evaluate user credentials then.
32
General Board / Re: Aggregates connector is shown the wrong way around
« Last post by Geert Bellekens on August 16, 2018, 05:03:26 pm »
I think it would be a good idea if the old Aggregation connectors would not be available anymore by default.
I mean, who still uses UML 1.1?

As an alternative you could provide toolbox items to draw Associations with AggregationKind = shared and AggregationKind = composite.

I try to teach all of my users to avoid the Aggregation connectors and use Associations instead already.

Geert
33
Try this:

  • Modify the "DDL" Template (Design -> Tools -> Transform -> Transform Templates)
  • Replace: type=%qt%%CONVERT_DB_TYPE(genOptDefaultDatabase, attType)%%qt%
    with:
        type = %qt%varchar%qt%
        length = %255%qt%

And see if works.
Wouldn't that make ALL columns of type varchar(255)?

Geert
34
General Board / Re: rich text in report not displayed correctly
« Last post by Geert Bellekens on August 16, 2018, 04:56:45 pm »
If you use regular templates (using insert field -> Notes) that shouldn't happen.

If you use an SQL or script fragment then you have to do something special for EA to recognize the field as "rich text".

In a script fragment you need to add an attribute to the xml element, in an SQL fragment you need to add .formatted to the name of the result field.

This is explained in the manual in more detail.

Geert
35
Hi Dana,

In later versions of EA, you can create relationships between relationships and objects and between relationships.  That should allow you to relate the inter-entity relationship to the requirement object.

As qwerty said, it's best to have the conceptual backing for the relationship, but you can mark the relationship as derived (implying the backing).

HTH,
Paolo
36
Bugs and Issues / Re: Notes for class attributes
« Last post by qwerty on August 16, 2018, 08:18:37 am »
I have the feeling that the GUI designers at Sparx are hired from Sirius Cybernetics Co. Let's hope the revolution will come soon.

q.
37
General Board / Re: Requirements to ERD Entities, Attributes and Relationships
« Last post by qwerty on August 16, 2018, 08:13:15 am »
Phew. Going directly from requirements to a data model is like having the cake from the flour on the table. Requirements -> Use Cases -> Conecptional Class Model -> Concrete Class Model/Data Model would be the way to go.

q.
38
General Board / Re: EA 14 - double click on elements in project browser
« Last post by Sunshine on August 16, 2018, 06:41:05 am »
If there is a way to change it so double click opens the properties dialogue I haven't found it yet
The other approach I've found from the project browser is to use the context menu properties>special action
However in a diagram if you double click on the element it opens the properties dialog.
Kind of inconsistent which is never a good user experience.

I've also found out when creating attributes on elements the new features & properties window doesn't have access to notes for the attributes or operations. So you need to enable the notes window. Start|properties|notes

Alternatively if you prefer the old attributes/operations dialog you need to change the visual styles
Start | View | Visual style | Prefer Property Dialogs
39
Bugs and Issues / Re: Notes for class attributes
« Last post by Sunshine on August 16, 2018, 06:32:45 am »
Thanks Simon - would never have found that.
40
General Board / Re: 14.1 Beta: any schema changes
« Last post by Sunshine on August 16, 2018, 05:52:32 am »
Sparx Systems haven't changed the schema.
You good to use repositories created in earlier versions with 14.1
Pages: 1 2 3 [4] 5 6 ... 10