Author Topic: Profile comment not saved  (Read 3507 times)

qwerty

  • EA Guru
  • *****
  • Posts: 12449
  • Karma: +348/-291
  • I'm no guru at all
    • View Profile
Profile comment not saved
« 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.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8003
  • Karma: +211/-127
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Profile comment not saved
« Reply #1 on: September 23, 2021, 11:23:21 am »
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
« Last Edit: September 23, 2021, 04:24:39 pm by Paolo F Cantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

qwerty

  • EA Guru
  • *****
  • Posts: 12449
  • Karma: +348/-291
  • I'm no guru at all
    • View Profile
Re: Profile comment not saved
« Reply #2 on: September 23, 2021, 04:17:31 pm »
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.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8003
  • Karma: +211/-127
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Profile comment not saved
« Reply #3 on: September 23, 2021, 04:25:45 pm »
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
« Last Edit: September 23, 2021, 04:29:33 pm by Paolo F Cantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

qwerty

  • EA Guru
  • *****
  • Posts: 12449
  • Karma: +348/-291
  • I'm no guru at all
    • View Profile
Re: Profile comment not saved
« Reply #4 on: September 23, 2021, 05:24:50 pm »
I'm one behind: 1558. I'd be positively surprised if that were already fixed!

q.

qwerty

  • EA Guru
  • *****
  • Posts: 12449
  • Karma: +348/-291
  • I'm no guru at all
    • View Profile
Re: Profile comment not saved
« Reply #5 on: September 23, 2021, 05:35:42 pm »
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?
« Last Edit: September 23, 2021, 05:43:32 pm by qwerty »

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8003
  • Karma: +211/-127
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Profile comment not saved
« Reply #6 on: September 23, 2021, 08:37:03 pm »
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
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

qwerty

  • EA Guru
  • *****
  • Posts: 12449
  • Karma: +348/-291
  • I'm no guru at all
    • View Profile
Re: Profile comment not saved
« Reply #7 on: September 24, 2021, 01:35:45 am »
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

Code: [Select]
<Documentation id="7B2E7C84-1" name="..." version="1.0" notes="these data"/>

in the exported XML does match these data?

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8003
  • Karma: +211/-127
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Profile comment not saved
« Reply #8 on: September 24, 2021, 08:34:50 am »
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

Code: [Select]
<Documentation id="7B2E7C84-1" name="..." version="1.0" notes="these data"/>

in the exported XML does match these data?

q.
Yes!
Code: [Select]
<Documentation id="BDD343A6-B" name="...." version="0.14r" notes="(from Vertices.Evolving package) with some change"/>Matches the dialog and t_xref.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

qwerty

  • EA Guru
  • *****
  • Posts: 12449
  • Karma: +348/-291
  • I'm no guru at all
    • View Profile
Re: Profile comment not saved
« Reply #9 on: September 24, 2021, 05:10:31 pm »
Bugger that. So it's a "just me" effect.  But thanks for looking after that anyway :-)

q.

qwerty

  • EA Guru
  • *****
  • Posts: 12449
  • Karma: +348/-291
  • I'm no guru at all
    • View Profile
Re: Profile comment not saved
« Reply #10 on: September 29, 2021, 08:18:08 pm »
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.