MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0025441Open CASCADE[OCCT] OCCT:Data Exchangepublic2014-10-31 21:312016-11-10 11:42
Reportersan 
Assigned Tobugmaster 
PrioritynormalSeverityminor 
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version[OCCT] 6.8.0 
Target Version[OCCT] 7.0.0Fixed in Version[OCCT] 7.0.0 
Summary0025441: XCAFDoc_ShapeTool::UpdateAssembly() does not update the back-references
DescriptionXCAFDoc_ShapeTool::UpdateAssembly() rebuilds the assembly's shape.
However, it does not follow the back-references - i.e. the users of this assembly.
As the result, the higher-level assemblies referring this assembly will contain inconsistent shapes.

This problem was discovered the the context of XCAFDoc_ShapeTool::RemoveComponent() method call. However, XCAFDoc_ShapeTool::SetShape() method is free of this problem because it already implements the necessary processing.

It is proposed to make UpdateAssembly() responsible for traversing the back-references in bottom-up direction to ensure the shape data consistency in an XCAF document. Consequently, all methods that call UpdateAssembly() should be reviewed, e.g. duplicated code is to be removed from SetShape().
Steps To Reproducepload ALL
box b 0 0 0 1 1 1
box b1 1 1 1 10 10 10
NewDoc D
compound b c
compound c c1
XAddShape D c1 1
DFB D
XShow D
XSetShape D 0:1:1:3 b1
XShow D
TagsNo tags attached.
Test case numberbugs xde bug25441
Attached Files

- Relationships
related to 0026314closedgka Method XCAFDoc_ShapeTool::SetShape() works not correctly. 
related to 0026353newapn Update of test case bugs xde bug25441 after fixes integration 0026302 and 0026216 
related to 0028082closedabv UpdateAssembly() method in shape tool is not recursive 

-  Notes
(0041942)
ink (developer)
2015-06-04 14:50

Fixed in branch CR26314.
(0041978)
gka (developer)
2015-06-05 14:21

Branch CR26314 was reviewed
(0042022)
apv (tester)
2015-06-08 15:40

Awaiting solution for 0026314
(0042190)
apv (tester)
2015-06-17 13:47

Dear BugMaster,

Issue 0025441 has been fixed together with issue 0026314 in branch CR26314.

Results of testing case:
bugs xde bug25441 - FAILED
http://occt-tests/CR26314-master-occt-64/Debian70-64/bugs/xde/bug25441.html [^]
http://occt-tests/CR26314-master-occt-64/Windows-64-VC10/bugs/xde/bug25441.html [^]
(0042227)
apv (tester)
2015-06-18 12:32

Dear BugMaster,

Issue 0025441 has been fixed together with issue 0026314 in branch CR26314.

Results of testing case:
bugs xde bug25441 - OK
http://occt-tests/CR26314-master-occt-64/Debian70-64/bugs/xde/bug25441.html [^]
http://occt-tests/CR26314-master-occt-64/Windows-64-VC10/bugs/xde/bug25441.html [^]
(0042260)
bugmaster (administrator)
2015-06-19 11:53

Fix has been integrated into master of occt repository in framework of issue 26314.

- Issue History
Date Modified Username Field Change
2014-10-31 21:31 san New Issue
2014-10-31 21:31 san Assigned To => gka
2015-06-03 12:57 gka Assigned To gka => ink
2015-06-03 12:57 abv Status new => assigned
2015-06-04 14:42 ink Relationship added related to 0026314
2015-06-04 14:50 ink Note Added: 0041942
2015-06-04 14:56 ink Assigned To ink => gka
2015-06-04 14:56 ink Status assigned => resolved
2015-06-04 14:56 ink Steps to Reproduce Updated View Revisions
2015-06-05 14:21 gka Note Added: 0041978
2015-06-05 14:21 gka Assigned To gka => bugmaster
2015-06-05 14:21 gka Status resolved => reviewed
2015-06-05 15:05 apv Assigned To bugmaster => apv
2015-06-08 15:40 apv Note Added: 0042022
2015-06-17 13:00 apv Test case number => bugs xde bug25441
2015-06-17 13:47 apv Note Added: 0042190
2015-06-17 13:47 apv Assigned To apv => ink
2015-06-17 13:47 apv Status reviewed => assigned
2015-06-18 11:54 apv Assigned To ink => apv
2015-06-18 11:54 apv Status assigned => feedback
2015-06-18 12:32 apv Note Added: 0042227
2015-06-18 12:32 apv Assigned To apv => bugmaster
2015-06-18 12:32 apv Status feedback => tested
2015-06-19 11:53 bugmaster Note Added: 0042260
2015-06-19 11:53 bugmaster Status tested => verified
2015-06-19 11:53 bugmaster Resolution open => fixed
2015-07-03 15:31 bugmaster Target Version 7.1.0 => 7.0.0
2015-09-19 09:19 abv Relationship added related to 0026353
2016-04-20 15:44 aiv Fixed in Version => 7.0.0
2016-04-20 15:48 aiv Status verified => closed
2016-11-10 11:42 ssv Relationship added related to 0028082


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker