Copy and paste not working properly

If you have something to say about LogicCircuit program or you know how to improve it please share it here.
Post Reply
Vavrik
Posts: 3
Joined: Thu Jan 09, 2020 11:41 am

Copy and paste not working properly

Post by Vavrik »

Hi, I have problems using copy and paste in LogicCircuit. It always raises error 'Foreign key "FK_StartupCircuit_Project" violation.' with following details:
LogicCircuit.DataPersistent.ForeignKeyViolationException: Foreign key "FK_StartupCircuit_Project" violation.
v LogicCircuit.DataPersistent.TableSnapshot`1.ForeignKey`1.Validate()
v LogicCircuit.DataPersistent.StoreSnapshot.PrepareCommit()
v LogicCircuit.CircuitProject.InTransaction(Action action, Boolean commit)
v LogicCircuit.CircuitProject.CreateAndClose(XmlReader xmlReader)
v LogicCircuit.CircuitProject.Paste(String text)
v LogicCircuit.Editor.Paste()
v LogicCircuit.LambdaUICommand.Execute(Object parameter)

I can still use the functions by copying part of circuit, pasting it in Notepad, changing whatever is inside tag <lc:StartupCircuitId> to whatever is inside tag <lc:LogicalCircuitId> and copying and pasting that back into LogicCircuit. Is there a way to solve this?
User avatar
admin
Site Admin
Posts: 417
Joined: Sun Jun 14, 2009 10:53 pm
Contact:

Re: Copy and paste not working properly

Post by admin »

Hi,
Thank for pointing this out. I've just fixed this bug. Please download a new version at: https://logiccircuit.org/download.html
Regards,
Eugene
Post Reply