Author Topic: Removal of Connector leads to error  (Read 4993 times)

rchalie

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Removal of Connector leads to error
« on: August 11, 2021, 11:48:53 pm »
Since some time, when I remove a connector from a diagram, after acknowledging that the connector should be removed from the model, the connector remains in the diagram.
  • If I then close the diagram and reopen it, the connector is gone
  • If I try to remove the connector again, I get an error message "Either BOF or EOF is True, or the current record has been deleted" (which is, of course, correct)
It would seem that the diagram is not updated correctly after removal of a connector.
Any thoughts?

EDIT: Selecting the connector a second time leads to multiple instances of the error message. However, the contents of the connector is still available after clicking away the messages.
« Last Edit: August 11, 2021, 11:59:11 pm by rchalie »

qwerty

  • EA Guru
  • *****
  • Posts: 12335
  • Karma: +347/-287
  • I'm no guru at all
    • View Profile
Re: Removal of Connector leads to error
« Reply #1 on: August 12, 2021, 06:14:05 am »
Run a consistecy check and see whther that helps.

q.

rchalie

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Removal of Connector leads to error
« Reply #2 on: August 12, 2021, 06:18:21 am »
Run a consistecy check and see whther that helps.

q.

I did. Removed two objects. Behavior in diagram didn't change.

qwerty

  • EA Guru
  • *****
  • Posts: 12335
  • Karma: +347/-287
  • I'm no guru at all
    • View Profile
Re: Removal of Connector leads to error
« Reply #3 on: August 12, 2021, 04:13:15 pm »
Tricky. One would need to look into the guts of your model. Two ways: a) send it to Sparx for being fixed. b) Export the model via XMI, and import it into a fresh repository. You would need to transfer reference data separately if needed.

q.

rchalie

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Removal of Connector leads to error
« Reply #4 on: August 12, 2021, 06:12:43 pm »
Weird. This happens for all types of diagrams, but .... only for me. My colleagues do not experience this. Could this be a specific installation issue? Would a reinstall be the solution? And we're still working with 15.0.
« Last Edit: August 12, 2021, 06:18:00 pm by rchalie »

qwerty

  • EA Guru
  • *****
  • Posts: 12335
  • Karma: +347/-287
  • I'm no guru at all
    • View Profile
Re: Removal of Connector leads to error
« Reply #5 on: August 12, 2021, 10:51:11 pm »
Weird indeed. I would rather suppose a driver issue, assuming you are not using EAP but a central DB?

q.

rchalie

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Removal of Connector leads to error
« Reply #6 on: August 13, 2021, 12:08:11 am »
Correct. We're using a repository in a SQL Server database.
We're using centrally managed computers, so it would be weird that my computer has these very specific issues, and others not.

qwerty

  • EA Guru
  • *****
  • Posts: 12335
  • Karma: +347/-287
  • I'm no guru at all
    • View Profile
Re: Removal of Connector leads to error
« Reply #7 on: August 13, 2021, 01:18:42 am »
Compare the driver you're using with that of your colleagues (so it's the same version number). There are also settings in the driver that might be different.

q.

rchalie

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Removal of Connector leads to error
« Reply #8 on: August 20, 2021, 09:51:39 pm »
So, I got EA 15.0 uninstalled, and 15.2 installed. That should solve any driver issues, right?
Nope. After the clean install of 15.2, after deleting a connector I still need to save the diagram and reload it to avoid the connector remaining in the diagram and throwing an error when selected.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 11251
  • Karma: +415/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Removal of Connector leads to error
« Reply #9 on: August 20, 2021, 11:22:30 pm »
So, I got EA 15.0 uninstalled, and 15.2 installed. That should solve any driver issues, right?
Nope. After the clean install of 15.2, after deleting a connector I still need to save the diagram and reload it to avoid the connector remaining in the diagram and throwing an error when selected.
Installing EA does not change the settings in your connection to the database.
The driver is not installed by EA.

Geert

rchalie

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Removal of Connector leads to error
« Reply #10 on: August 20, 2021, 11:30:14 pm »
True, but if I "manually" save the diagram and reload it, the connector is gone. And actually, if I remove the connector and then click on it in the diagram, I get an error message, suggesting that the connector was in fact removed from the repository, but that it's just the diagram changes that were not saved.

qwerty

  • EA Guru
  • *****
  • Posts: 12335
  • Karma: +347/-287
  • I'm no guru at all
    • View Profile
Re: Removal of Connector leads to error
« Reply #11 on: August 21, 2021, 06:06:03 am »
You should contact Sparx support in order to lock down that issue.

q.

rchalie

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Removal of Connector leads to error
« Reply #12 on: August 21, 2021, 06:12:38 am »
You should contact Sparx support in order to lock down that issue.

q.

Yes, we're going to raise a ticket. Thanks for the help.

qwerty

  • EA Guru
  • *****
  • Posts: 12335
  • Karma: +347/-287
  • I'm no guru at all
    • View Profile
Re: Removal of Connector leads to error
« Reply #13 on: August 21, 2021, 06:32:48 am »
Also what Geert said: EA does not install the driver. That's done independantly. So you probably got still the same wrong driver.

q.