Book a Demo

Author Topic: Template diagram copies author  (Read 4022 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Template diagram copies author
« on: December 10, 2009, 11:14:20 pm »
When you create a template diagram in the "Templates" folder and someone else creates a new diagram of that type the "author" field is copied as well. The result is that all diagrams of that type have the same author: the one who created the template diagram.

Steps to recreate

- Use Security to enable the login
- Create a new package and set it to be the template package
- Create a new diagram in this template package (say ActivityDiagram)
- Login as another user
- Create a new ActivityDiagram somewhere else
- Notice that the author of this diagram is the user who created the template diagram.

Reported to Sparx

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Template diagram copies author
« Reply #1 on: December 11, 2009, 09:00:23 pm »
Received a reply from Sparx support:
Quote
I was able to reproduce this issue and have logged it as a bug to be
fixed.

Reference Number: 09124238

You should be able to avoid this issue by clearing the Author field of
your template diagrams. When the Author in the template is empty the
appropriate user name should be applied for new diagrams.

Geert

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: Template diagram copies author
« Reply #2 on: December 11, 2009, 10:08:47 pm »
Quote
When the Author in the template is empty the
appropriate user name should be applied for new diagrams.
[/quote]

BTW, I fell into this pitfall, too. I used to create templates and forgot to clear the author fields. Result is that lots of diagrams are now in the model of which I am refered to as the author. I can not complain about a lack of company at my desk :)

Oliver

son-of-sargasso

  • EA User
  • **
  • Posts: 122
  • Karma: +0/-0
    • View Profile
Re: Template diagram copies author
« Reply #3 on: December 11, 2009, 10:29:27 pm »
Ah, fame at any price eh Oliver?  :)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Template diagram copies author
« Reply #4 on: December 11, 2009, 11:07:55 pm »
Well, luckily someone noticed this pretty soon, so not too much diagrams with my name as author have been created yet.

Geert

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • Aren´t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: Template diagram copies author
« Reply #5 on: December 11, 2009, 11:09:26 pm »
Quote
Ah, fame at any price eh Oliver?  :)

Fame and shame is rather close in that case :D

Oliver