Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: George..Brennan on January 13, 2023, 11:19:36 pm

Title: can't unlock diagram
Post by: George..Brennan 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


Title: Re: can't unlock diagram
Post by: qwerty on January 14, 2023, 02:38:53 am
Maybe you're in presentation mode?

q.
Title: Re: can't unlock diagram
Post by: George..Brennan 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.
Title: Re: can't unlock diagram
Post by: Takeshi K 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?)

Title: Re: can't unlock diagram
Post by: George..Brennan 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.

Title: Re: can't unlock diagram
Post by: George..Brennan 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.
Title: Re: can't unlock diagram
Post by: qwerty 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.
Title: Re: can't unlock diagram
Post by: nilspc 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
Title: Re: can't unlock diagram
Post by: nilspc 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
Title: Re: can't unlock diagram
Post by: M@rco 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