Ticket #108 (closed Bug: fixed)

Opened 2 years ago

Last modified 6 months ago

Domains ramdonly created

Reported by: dsugar Assigned to: dsugar
Priority: High Milestone: 2008 Work Complete v3.0
Component: Graphical IDE Keywords:
Cc:

Description (Last modified by dsugar)

There seems to be a problem that sometimes domains just appear out of no where in the diagram. During some investigation it seems to have to do with canceling the creation of a domain. It doesn't seem to be happening with other objects.

Change History

02/02/07 11:53:03 changed by dsugar

  • status changed from new to assigned.

The problem was reproducable by selecting the 'Domain' tool. Moving the cursor onto the editor. Then moving the cursor back to the palette, selecting a different tool. Then creating one of those items.

Then save the policy. You would see a random domain being created at the top/left of the graphical editor.

02/02/07 11:53:43 changed by dsugar

  • status changed from assigned to closed.
  • resolution set to fixed.

fixed in changeset:1456

03/31/08 13:52:52 changed by dsugar

  • status changed from closed to reopened.
  • resolution deleted.

Seems to be happening again - same scenario - as of changeset:2021

Maybe as simple as loosing focus. Example to duplicate - Select Domain tool. move mouse into work area click 'save' icon extra domain appears.

Also seems to be happening for resources.

03/31/08 15:27:07 changed by dsugar

  • description changed.
  • milestone set to Release 2.5.

Problem was probably introduced in changeset:1917 where the function Shape.getPolicy was changed to get the policy from a different location. Objects are physically created when the 'AddShapeCommand?' is created. But this change means the object is also getting added into the base policy which is not correct. Should only get added into the base policy after the user clicks in the work area.

04/01/08 11:06:17 changed by dsugar

  • status changed from reopened to closed.
  • resolution set to fixed.

fixed in changeset:2027 now objects are not created in the policy until the user actually clicks in the work area. Probably a better solution than the initial fix.

05/20/08 15:08:14 changed by dsugar

  • milestone changed from Release 2.5 to 2008 Work Complete v3.0.

Milestone Release 2.5 deleted