MantisBT - Open CASCADE
View Issue Details
0030957Open CASCADE[OCCT] OCCT:Data Exchangepublic2019-09-09 14:372019-09-15 10:55
tma 
bugmaster 
normalminor 
verifiedfixed 
[OCCT] 7.3.0 
[OCCT] 7.5.0* 
gdt/notes/B1
0030957: Data Exchange - Assembly item Id should not start with '/' symbol
The problem has been found during migration to the new version of the cadproCore product. Id of the Assembly item does not start with the '/' symbol in the new version. Slash is used only in the intermediate levels to reflect the assembly structure (not in the start and in the end)

XCAFDoc_AssemblyItemId::ToString() method returns assembly item Id as a string starting from '/' symbol.

When Id's of assembly item are compared (one from cadproCore and one from XCAFDoc_AssemblyItemId::ToString()) there is an error. Actually strings of Id are different(because of the '/' symbol), but really assembly item is the same.

In this case PMI's based on assembly items are not displayed after re-opening of the xbf-document.
No tags attached.
related to 0030692verified bugmaster Open CASCADE Data Exchange - introduce base framework RWMesh for importing mesh data formats into XDE document 
Issue History
2019-09-09 14:37tmaNew Issue
2019-09-09 14:37tmaAssigned To => gka
2019-09-09 14:42tmaAssigned Togka => tma
2019-09-09 15:17gitNote Added: 0086983
2019-09-09 15:28kgvSummaryAssembly item Id should not start with '/' symbol => Data Exchange - Assembly item Id should not start with '/' symbol
2019-09-09 15:29kgvRelationship addedchild of 0028985
2019-09-09 15:30kgvRelationship addedrelated to 0030692
2019-09-11 12:39gitNote Added: 0087003
2019-09-11 12:47tmaNote Added: 0087005
2019-09-11 12:47tmaAssigned Totma => ika
2019-09-11 12:47tmaStatusnew => resolved
2019-09-11 13:17ikaNote Added: 0087008
2019-09-11 13:17ikaAssigned Toika => bugmaster
2019-09-11 13:17ikaStatusresolved => reviewed
2019-09-11 18:49bugmasterNote Added: 0087015
2019-09-11 18:49bugmasterStatusreviewed => tested
2019-09-11 18:49bugmasterTest case number => gdt/notes/B1
2019-09-15 10:51bugmasterChangeset attached => occt master ac293bde
2019-09-15 10:51bugmasterStatustested => verified
2019-09-15 10:51bugmasterResolutionopen => fixed
2019-09-15 10:55gitNote Added: 0087096

Notes
(0086983)
git   
2019-09-09 15:17   
Branch CR30957 has been created by tma.

SHA-1: 57f7d2835fd8452586c6b2a6c181d85c43e7700d


Detailed log of new commits:

Author: tma
Date: Mon Sep 9 14:36:22 2019 +0300

    0030957: Assembly item Id should not start with '/' symbol
(0087003)
git   
2019-09-11 12:39   
Branch CR30957 has been updated by tma.

SHA-1: 60b66de7237c864db26f06cd704a25d238e2bbf6


Detailed log of new commits:

Author: tma
Date: Wed Sep 11 12:36:06 2019 +0300

    Fix test case: added parsing of the output of the dump note command

(0087005)
tma   
2019-09-11 12:47   
Dear Irina,

Could you review my fix, please.

All tests are OK:
http://jenkins-test-12.nnov.opencascade.com/view/CR30957-master-TMA/view/COMPARE/ [^]

I've modified existing test to check the fix.


Thank you in advance,
Tatiana.
(0087008)
ika   
2019-09-11 13:17   
No remarks.
(0087015)
bugmaster   
2019-09-11 18:49   
Combination -
OCCT branch : CR30957
master SHA - 57f7d2835fd8452586c6b2a6c181d85c43e7700d
5f5b1aed1c6e139bbd34314eca77ae7abcd8895c
Products branch : master SHA - f9d0bd5e3a29d6a97b3f5f6354ea2397253ab4f8
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 16838.97000000012 / 16836.290000000165 [+0.02%]
Products
Total CPU difference: 10552.410000000025 / 10553.510000000031 [-0.01%]
Windows-64-VC14:
OCCT
Total CPU difference: 18313.984375 / 18300.0625 [+0.08%]
Products
Total CPU difference: 6187.671875 / 6187.359375 [+0.01%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0087096)
git   
2019-09-15 10:55   
Branch CR30957 has been deleted by inv.

SHA-1: 60b66de7237c864db26f06cd704a25d238e2bbf6