soundasleep / iaml

Automatically exported from code.google.com/p/iaml
3 stars 1 forks source link

Wires which do not have two connections persist in the model #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a DomainObjectInstance, connected to a DomainObject
2. Infer contained elements

What is the expected output? What do you see instead?
Expected: No errors
Actual: The model is populated with SyncWires with no 'from' or 'to'.
The following problems are also thrown by the validation:

"A WireEdge must have a 'from'" in <InternetApplication>::Signup::New User
Form::sync::sync
...

Perhaps when removing non-generated elements, all edges that do not both
have 'from' and 'to' should automatically be deleted. (Perhaps even as part
of their generated elements deletion, the edges should recursively delete
their generated siblings as well.)

Original issue reported on code.google.com by soundasleep on 22 Jul 2009 at 5:20

GoogleCodeExporter commented 9 years ago
Resolved in r934.

Added a new action "Remove phantom edges" which will remove wires that have 
from=null
or to=null. This seems simpler and better performing than cycling through the 
entire
model at every editor refresh/save.

Original comment by soundasleep on 7 Aug 2009 at 10:00