Relational Bug in PowerINSPECT 1350

PWI000049

Context

this document applies to :

  1. PowerINSPECT 1350
  2. PowerINSPECT 1300
  3. PowerINSPECT 1200

Gripe no 476

Summary

PowerINSPECT 1350 does not properly check the relationships between items.  It is possible to delete geometric features that are referenced elsewhere.  This can lead to a crash.  This is due to a bug carried through from PowerINSPECT 1200 where the symptoms appear in a slightly different form.  If you take care about deleting items in PowerINSPECT 1350 the problem can be avoided. 

Description

PowerINSPECT 1350 does not properly check the relationships between items.

This problem is most easily demonstrated by delaying measure, and creating:

  1. a plane
  2. two circles
  3. a line joining the two circles.

The info tab for the second circle does not show that it is used by the line.
It is possible to delete the second circle, although this should not happen.  This is the most visible effect of the bug. If you then try to do anything to the line (e.g. modify) the application will crash because this is a lapse in data integrity.

This bug will also mean that general modifications to geometric items will not be updated through the 'cascade' of their relationships.

The same bug exists in PowerINSPECT 1200 but it appears slightly differently.  If you follow the three steps above in PowerINSPECT 1200, and then reverse the direction of the line, you will get the same results.  PowerINSPECT 1200 also allows you to create a line joining a point to itself; PowerINSPECT 1350 will not let you to do this.

Problem cause

This is caused by a bug in PowerINSPECT up to version 1350.  This has been fixed in Beta Version 1351 and later versions.

Workaround

Take care with any 'cascaded' relationships in PowerINSPECT 1350 and earlier versions.

Do not delete any geometric items that you know to be used elsewhere.  An example is a circle referenced by a line as described in the example above.  If you take care in this way you should not experience any serious problems.