Author Topic: Ghost model author  (Read 4901 times)

Ian Mitchell

  • EA User
  • **
  • Posts: 506
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Ghost model author
« on: November 20, 2020, 02:12:28 am »
I've just noticed that in one one of my stand-alone, no-security EAPX (15.2) repositories, there is a strange default author for all new elements.
Worse still, it's not me.
Even worse, it's the name of a customer of mine who maybe once sent me some EA content, a long time ago.
I have looked in:
- Configure / Reference Data / Model type / People and that is empty
- t_authors is also empty (nt sure this this is the same data)
There is no security, so no users defined.
The 'Authors' dropdown does sometime have two people, and one of them is me, which is nice, but I'm not the default :-(
And sometimes, I'm not even in the drop-down - just the ghost user.

I just tried this with a 100% empty, brand-new EAPX repository, and the first EA element I created was authored by him.
And I'm nowhere the in the drop-down of authors.
Where is this ghost author stored ?


Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Ghost model author
« Reply #1 on: November 20, 2020, 02:19:35 am »
In some former EA the settings had a default user. I have not the faintest idea where they stowed that in my current 13.5 (nor any later EA). Settings in EA: another nightmare.

q.

P.S. In V10 it was in Tools/Options/General
« Last Edit: November 20, 2020, 02:23:06 am by qwerty »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Ghost model author
« Reply #2 on: November 20, 2020, 02:30:58 am »
Found it in the Registry under HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA\OPTIONS\AUTHOR

q.

Ian Mitchell

  • EA User
  • **
  • Posts: 506
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Re: Ghost model author
« Reply #3 on: November 20, 2020, 03:04:46 am »
GENIUS - works perfectly - Thanks Q.
I wonder how it got there in first place?

@Sparx - when does EA set this reg entry? It must do that, as this is a 1 month old system, which my 'ghost' user has never seen.
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Ghost model author
« Reply #4 on: November 20, 2020, 04:48:52 am »
That's what you get if you live in a centuries old house on on the top of a hill in the middle of nowhere  :o Ghosts!

Geert

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Ghost model author
« Reply #5 on: November 20, 2020, 07:58:31 pm »
Hi Ian,


Out of curiosity, was this ghost user name taken from your system, or was it some kind of default name?
If the latter, what was it?

And if the former, was it an account name, or a full name, or some other Windows account property?


/Uffe
My theories are always correct, just apply them to the right reality.

Ian Mitchell

  • EA User
  • **
  • Posts: 506
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Re: Ghost model author
« Reply #6 on: November 20, 2020, 08:49:44 pm »
@Uffe
 I have no idea how the name got into the repository of a brand new computer. I have opened models in which the ghost author is correctly present, but I don't see how that name could get into the EA registry entries. Hence my question to @Sparx.
The registry entry which was so keenly spotted by Q was just a plain text string, of the full name of the author as it appeared in the author drop-down.

I wonder if it's possible to set a 'default author' somewhere in EA, and only the repositories which contain that author happen to set that property? And once set, all new reps get it. No link to a windows account - brand new computer.
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Ghost model author
« Reply #7 on: November 20, 2020, 09:00:16 pm »
Since it's in the registry, Windoze will likely have taken care from some central storage. Windoze is (black) magic.

q.
« Last Edit: November 20, 2020, 09:41:41 pm by qwerty »

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Ghost model author
« Reply #8 on: November 20, 2020, 09:16:05 pm »
Hello again,

@Uffe
 I have no idea how the name got into the repository of a brand new computer. I have opened models in which the ghost author is correctly present, but I don't see how that name could get into the EA registry entries. Hence my question to @Sparx.
The registry entry which was so keenly spotted by Q was just a plain text string, of the full name of the author as it appeared in the author drop-down.

I wonder if it's possible to set a 'default author' somewhere in EA, and only the repositories which contain that author happen to set that property? And once set, all new reps get it. No link to a windows account - brand new computer.
Well, even on a brand new Windows installation there is at least one account. Not a domain account, but a local one. (Actually there are about half a dozen accounts on a fresh install, but only one whose name is set during installation.)

In addition to the accounts, the Windows installation also keeps registration information under HKLM\Software\Microsoft\Windows NT\CurrentVersion, values RegisteredOwner and RegisteredOrganization. So if the default author is set by the installer, it could use these values, possibly as a fallback in some situation.

Are you using the Sparx installer, or is the installation repackaged locally? That's a big piece of the puzzle.

/U
My theories are always correct, just apply them to the right reality.

Ian Mitchell

  • EA User
  • **
  • Posts: 506
  • Karma: +22/-4
  • The eaDocX and Model Expert guy
    • View Profile
Re: Ghost model author
« Reply #9 on: November 21, 2020, 02:05:36 am »
EA was installed under my account, using the Sparx MSI installer. So no way the ghost name came from that source.
Remember this all went into a new computer, with no content on it at all until I started installing stuff. 
Ian Mitchell, Designer, eaDocX


www.eaDocX.com
www.theartfulmodeller.com