Author Topic: Restoring baselines fails with "user lock required" and 'annotations'  (Read 1617 times)

ppeeters

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Hi all,

I'm using EA v16.1 (64bits) with a repository where security is activated and user lock required.
I have a problem restoring a baseline due to a locking issue together with the presence of a 'Annotions' type package '...{}' in the package I want to restore.
Initially, I have a package with some diagrams and elements but no 'annotations' (Notes, boundary...). I take a lock on that package and its content and make a v1.0 baseline.
Next I add a note to one diagram. This create an annotation '...{}' package containing the note element.
If I try to restore my original v1.0 baseline, it fails with the message
"One or more item under the current package are security locked, all items must be unlocked before performing this action"
This happens as soon as an annotation sub-packaged is present in the model.

Note that if I move the note out of the baselined package, restoring works.
Any idea ?

There is no problem with v15.2

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13065
  • Karma: +544/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Hmm, that looks like a bug to me.

I hope it doesn't affect version controlled packages, as that could be yet another issue preventing us from upgrading to v16.

I would report it to Sparx and see what they have to say about it.

Geert

BobM

  • EA User
  • **
  • Posts: 134
  • Karma: +8/-0
    • View Profile
I reported some issues with locking and user based diagrams with steps to reproduce but so far no confirmation on the bugs

Issues reported:
- "Encountered an improper argument" when switching from SSO user to elevated account (bypassing locks account)
- 'The operation cannot be completed; You cannot drag items into a locked element" when the locks are blue (does not always happens)
- System crash (with no DB error message) when adding a locked element into an unlocked diagram (oes not always happen and no logs)


ppeeters

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Hi,

I've just filled in a bug report. We'll see...