Sparx Systems Forum
Enterprise Architect => Bugs and Issues => Topic started by: qwerty on September 22, 2021, 11:59:30 pm
-
The comment on profiles is probably commonly ignored. However, I do have a use for it. So I was very surprised that my changes to the notes were not exported (I used the API to export the profile). When doing it manually it took me a while until noticing that the comment appears in Save dialog - but just with the old contents. Another few minutes (it wasn't the registry) I found the culprit. EA saves the filename AND the comment in t_xref in ProfileOptions. So it's burned and you can't change it (easily). Well, Sparxians, it was nice to remember the filename once after I while. But you actually found a way to bring in another hole. Would you please fill the Notes from the actual Notes and not from what had be placed there once upon a time?
I'm prepared to wait another 10 years for that to be fixed.
q.
-
Q,
YMMVW4M
Seems to work fine for me. I'm using Specialize | Technologies | Publish Tech | Publish Package as UML Profile and all the applicable fields are exported correctly.
What are you doing?
Paolo
-
Alter the notes of the profile before exporting. Just that.
- Select the «profile»
- Change it's notes to some obvious blurb
- Select Specialize/Tech/Publish/Package as Profile
Look at the Notes. They do not show the blurb but what ever has been there the first time saving the profile.
q.
-
Alter the notes of the profile before exporting. Just that.
- Select the «profile»
- Change its notes to some obvious blurb
- Select Specialize/Tech/Publish/Package as Profile
Look at the Notes. They do not show the blurb but whatever has been there the first time saving the profile.
q.
Strange, that's what I'm doing. I'm on 15.2 (1559), you?
[Edit: I checked t_xref and the changes are there...]
Paolo
-
I'm one behind: 1558. I'd be positively surprised if that were already fixed!
q.
-
Well, just hit me, but there's no change. The notes are wrong. It might be a different EA bug. Will try with a blank EAP.
q.
P.S. Same effect. I thought it might be because I have my own «profile» definition but with the EAUML it's the same. So: what are you doing?
-
Well, just hit me, but there's no change. The notes are wrong. It might be a different EA bug. Will try with a blank EAP.
q.
P.S. Same effect. I thought it might be because I have my own «profile» definition but with the EAUML it's the same. So: what are you doing?
The package I'm exporting is one of the lower level profiles which get aggregated into the main MDG. It's an EAUML::profile stereotyped package. It's in an .EAPX file (we currently keep the profile definition repository separate from our main repositories - SQL Server - which use the MDG we produce from it). It contains a set of stereotyped elements.
Other than that I can't see anything that might be different. If you have any specific questions, let me know.
Paolo
-
Makes me feel like "just me again" :-/ Probably it's something about communication here?
When you changed the notes in the Package notes of the «EAUML::profile» and exported that, then the
<Documentation id="7B2E7C84-1" name="..." version="1.0" notes="these data"/>
in the exported XML does match these data?
q.
-
Makes me feel like "just me again" :-/ Probably it's something about communication here?
When you changed the notes in the Package notes of the «EAUML::profile» and exported that, then the
<Documentation id="7B2E7C84-1" name="..." version="1.0" notes="these data"/>
in the exported XML does match these data?
q.
Yes!
<Documentation id="BDD343A6-B" name="...." version="0.14r" notes="(from Vertices.Evolving package) with some change"/>Matches the dialog and t_xref.
Paolo
-
Bugger that. So it's a "just me" effect. But thanks for looking after that anyway :-)
q.
-
Today I eventually looked into the EA version and to my surprise it was still 1558! It took me a while to figure out that the reason was me having multiple EA installations and the installer put it into the standard EA (along with some weird repair mode I did not understand that time). Anyhow, now I'm really on 1559 but still the same effect: The notes are not saved.
q.