Book a Demo

Author Topic: can't unlock diagram  (Read 12976 times)

George..Brennan

  • EA Novice
  • *
  • Posts: 13
  • Karma: +1/-0
    • View Profile
can't unlock diagram
« on: January 13, 2023, 11:19:36 pm »
Hi all,

I have a diagram recently created and now I can't move/edit position info...
The diagram has a grey check against the locked menu which I can't change.
It has a green border when clicked - presentation mode is off and all other EA apps are offline.
There is no lock in t_diagram.

I've raised a support call
Any advice?
Other than copy &  recreate the diagram.

16.1.1622 32bit

George



qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: can't unlock diagram
« Reply #1 on: January 14, 2023, 02:38:53 am »
Maybe you're in presentation mode?

q.

George..Brennan

  • EA Novice
  • *
  • Posts: 13
  • Karma: +1/-0
    • View Profile
Re: can't unlock diagram
« Reply #2 on: January 14, 2023, 03:35:00 am »
It has a green border when clicked - presentation mode is off and all other EA apps are offline.

Takeshi K

  • EA User
  • **
  • Posts: 620
  • Karma: +41/-1
    • View Profile
    • Sparx Systems Japan
Re: can't unlock diagram
« Reply #3 on: January 16, 2023, 10:19:40 am »
Hello George,

When a diagram is locked and the menu item to unlock is disabled, there are following cases (I think):

- locked by the Version Control
- locked by the Security
- locked by the API method Package.SetReadOnly()
- a file is read-only (in some file type)
- opened with the EALite
- (anything else?)

--
t-kouno

George..Brennan

  • EA Novice
  • *
  • Posts: 13
  • Karma: +1/-0
    • View Profile
Re: can't unlock diagram
« Reply #4 on: January 16, 2023, 10:05:18 pm »
Thanks, nice list, unfortunately...

no version control applied yet
no security enabled yet
no one using the API
not using files, we are using a PCS server and back end database
No one is using EaLite

At the moment I'm thinking it may be the PCS server has a lock it hasn't cleared but I don't really want to restart it and lose the evidence.

G.


George..Brennan

  • EA Novice
  • *
  • Posts: 13
  • Karma: +1/-0
    • View Profile
Re: can't unlock diagram
« Reply #5 on: January 16, 2023, 10:29:45 pm »
Further....

I exported via xmi to a local file, still locked so it looks like it's local to the model not the PCS server.
I can't see anything in the XML file that says locked.

G.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: can't unlock diagram
« Reply #6 on: January 16, 2023, 10:50:11 pm »
Well, that little missing info about PCS might explain things. There's a PCS board here. Good luck...

q.

nilspc

  • EA User
  • **
  • Posts: 29
  • Karma: +1/-0
    • View Profile
Re: can't unlock diagram
« Reply #7 on: November 24, 2023, 01:29:20 am »
Hi,

Did you find any solution for this?
We appear to have the same problem with one diagram

/Nils

nilspc

  • EA User
  • **
  • Posts: 29
  • Karma: +1/-0
    • View Profile
Re: can't unlock diagram
« Reply #8 on: November 24, 2023, 08:43:27 pm »
Hi,

Found the solution to our problem.
If you have enabled auto refresh on a diagram it shows like locked when you right click on the diagram and the auto refresh is also exported so same behavior after import into another repository

/N
« Last Edit: November 24, 2023, 08:46:25 pm by nilspc »

M@rco

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: can't unlock diagram
« Reply #9 on: October 08, 2025, 06:09:46 pm »
I had the same problem, and it turned out to be caused by the auto-refresh. Apparently, this feature locks the diagram. Disabling it and then restarting EA fixes the issue (the restart is necessary because Sparx locks it to your user).

Thanks, @nilspc