Document ID: 24807
Questions
- How do I define an Object Specification file?
- Why do I sometimes get a partial failure reported when I attempt to delete an object from different views in the map viewer?
- Q. Why do I sometimes get a partial failure reported when I attempt to delete an object from different views in the map viewer? (Products affected: CEMF 3.0.x and 3.1)
- A. If the same object is selected in more than one view, the delete function attempts to retrieve each object from the context, given its ObjectId.
For example, an object named Site-1 exists in these two Containment Trees:
- Physical:/Site-1
- ComponentManaged:/Site-1
- The context stores the ObjectIds of the objects selected in the Map Viewer. The first object is successfully deleted. No subsequent ObjectId's represent valid objects and, therefore, subsequent operations on the object result in failure. This is why you obtain partial failure when you attempt to delete the same object from multiple views.
For the example given above, the system fails to delete ComponentManaged:/Site-1 if it is selected after the Physical:/Site-1 object in the Map Viewer.
Related Information
| Updated: Jan 31, 2006 | Document ID: 24807 |
