Recent Posts

Pages: 1 ... 6 7 [8] 9 10
71
Bugs and Issues / Re: Virtual Connectors do not execute Shape Scripts
« Last post by Paolo F Cantoni on December 13, 2017, 10:56:56 am »
Alain,

See my recent posts (last few months) on Virtual Connector Ends.  It will also alert you to other problem you may come across.  I've come up against the same kinds of problems and I've made an analysis of why they occur and proposed a possible solution.  Essentially, the implementation is "less than optimal".

The idea is fine, it just needs a different (and I would argue, more logical) implementation.

Paolo
72
I guess this is an SQL search and not a script.
First thing to do is check the dbError.txt in the %appdata% folder for EA.

Then remove the comments. IIRC EA will strip (or it used to) everything after the first comments, so your search will be nothing more then "SELECT"

Next thing is the To_Number(t_connector.PDATA1) there's a good chance you have somewhere a text in a PDATA1
I guess you better cast both fields to string to compare them instead of trying to cast it to a number.

Geert
To reinforce what Geert has said, don't forget that a NULL value will also trigger type issues.  We find that a lot with function calls in queries.

Again, for the record, I HATE NULLS!

Paolo
73
General Board / Re: Element Text Alignment
« Last post by Paolo F Cantoni on December 13, 2017, 10:49:05 am »
Okay, as expected. I've found a workaround by setting the alias blank and adding a text label which i put inside the element. Not ideal, i hope they will implement a feature which solves this in an easier way.
We found the same solution,  We ALSO extended it to allow the user to select which of a number of names (held in Tagged Values) the element should display on a specific diagram.

BTW, setting the Alias to "space" is what we did, "setting it blank" might imply «Emptyt» - where this "fudge" doesn't work.

Paolo
74
Suggestions and Requests / Re: Watermarks. Discuss.
« Last post by Paolo F Cantoni on December 13, 2017, 10:43:40 am »
+1

Paolo
75
General Board / Re: UI Suggestion - Option to Locate on Current Diagram
« Last post by VKN on December 13, 2017, 09:52:10 am »
Then I have to go through several clicks to locate it.
No need. Just do CTRL+U while the element is selected in the project browser.
76
Yeah, XMI 2.1 is a lot easier to read.

I don't have any recommendations for producing XMI 1.1, but if you want to produce 2.1 that EA doesn't remove the guids from I can offer some suggestions.

Code: [Select]
<xmi:Documentation exporter="Enterprise Architect" exporterVersion="6.5"/>
<uml:Model xmi:type="uml:Model" name="EA_Model">

Packages, use a guid with the format:
EAPK_{8 hex digits}_{4 hex digits}_{4 hex digits}_{4 hex digits}_{12 hex digits}
Everything else:
EAID_{8 hex digits}_{4 hex digits}_{4 hex digits}_{4 hex digits}_{12 hex digits}
77
Bugs and Issues / Re: Virtual Connectors do not execute Shape Scripts
« Last post by Simon M on December 13, 2017, 08:52:17 am »
If you're talking about Virtual Connector Ends...

It doesn't draw the shape script.
There's no way to make it draw the shape script.
No, it's not a bug.
78
Bugs and Issues / Re: Out of memory when starting
« Last post by Simon M on December 13, 2017, 08:49:51 am »
There's a known issue that some installs of Windows 10 can give this issue.

If I remember correctly, we never managed to reproduce it or find the cause. The good news is that we did manage to isolate and correct the problem with the help of a customer who was experiencing the issue.

The fix is planned for inclusion in a 1352 patch release.
79
Bugs and Issues / Re: SQL Script errors with ORA-01722: invalid number in EA v 13.5
« Last post by Simon M on December 13, 2017, 08:43:20 am »
Next thing is the To_Number(t_connector.PDATA1) there's a good chance you have somewhere a text in a PDATA1
I guess you better cast both fields to string to compare them instead of trying to cast it to a number.
I'll agree that this is very likely the problem, it would also explain why it used to work but now doesn't.

The other option is to filter the t_connector table to the Connector_Type you're interested in. I'm guessing 'Association'.
80
General Board / Re: UI Suggestion - Option to Locate on Current Diagram
« Last post by qwerty on December 13, 2017, 08:18:32 am »
I guess, it should be a button (to locate and dismiss the dialog), rather than a check box. But else: +1

q.
Pages: 1 ... 6 7 [8] 9 10