MantisBT - Open CASCADE
View Issue Details
0031908Open CASCADE[OCCT] OCCT:DRAWpublic2020-11-03 16:152020-11-21 13:28
asuraven 
bugmaster 
normalminor 
verifiedfixed 
[OCCT] 5.2.2 
[OCCT] 7.6.0* 
demo/draw/bug31908
0031908: Draw Harness, TKTopTest - wavefront file path length is limited to 100 characters
wavefront DRAW command does not work if file path length is longer than 100 characters
pload MODELING
box b 10 20 30
wavefront b the_name_of_saved_with_wavefront_command_box_that_measures_10_20_30_and_has_length_of_its_name_longer_than_100_characters
No tags attached.
related to 0031136feedback asuraven Modeling Data - BinXCAF persistence loses normals from triangulation-only Faces 
Issue History
2020-11-03 16:15asuravenNew Issue
2020-11-03 16:15asuravenAssigned To => asuraven
2020-11-03 16:16asuravenRelationship addedrelated to 0031136
2020-11-03 16:17asuravenSummarywavefront file path length is limited to 100 characters => Modeling Data - wavefront file path length is limited to 100 characters
2020-11-03 16:20asuravenStatusnew => assigned
2020-11-03 16:20kgvStatusassigned => new
2020-11-03 16:20kgvCategoryOCCT:Modeling Data => OCCT:DRAW
2020-11-03 16:20kgvSummaryModeling Data - wavefront file path length is limited to 100 characters => Draw Harness, TKTopTest - wavefront file path length is limited to 100 characters
2020-11-03 16:23kgvProduct Version => 5.2.2
2020-11-03 17:00asuravenStatusnew => assigned
2020-11-03 17:22gitNote Added: 0096511
2020-11-03 17:44gitNote Added: 0096513
2020-11-03 17:44gitNote Added: 0096514
2020-11-03 17:55kgvNote Added: 0096516
2020-11-03 18:10gitNote Added: 0096517
2020-11-03 18:10gitNote Added: 0096518
2020-11-05 11:45gitNote Added: 0096529
2020-11-05 11:45gitNote Added: 0096530
2020-11-05 14:27asuravenNote Added: 0096537
2020-11-05 14:30asuravenAssigned Toasuraven => msv
2020-11-05 14:30asuravenStatusassigned => resolved
2020-11-05 14:30asuravenSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=23950#r23950
2020-11-05 15:56msvNote Added: 0096549
2020-11-05 15:56msvAssigned Tomsv => bugmaster
2020-11-05 15:56msvStatusresolved => reviewed
2020-11-21 12:39bugmasterChangeset attached => occt master 84d0342c
2020-11-21 12:39bugmasterStatusreviewed => verified
2020-11-21 12:39bugmasterResolutionopen => fixed
2020-11-21 12:43bugmasterNote Added: 0096938
2020-11-21 12:50bugmasterTest case number => demo/draw/bug31908
2020-11-21 13:28gitNote Added: 0096964

Notes
(0096511)
git   
2020-11-03 17:22   
Branch CR31908 has been created by asuraven.

SHA-1: c83eb56f06b6854a7df49010a1f1e43aabc2a3ad


Detailed log of new commits:

Author: asuraven
Date: Tue Nov 3 17:22:14 2020 +0300

    0031908: Draw Harness, TKTopTest - wavefront file path length is limited to 100 characters
    
    * Change file path variable in wavefront function from char[100] to TCollection_AsciiString
(0096513)
git   
2020-11-03 17:44   
Branch CR31908 has been deleted by asuraven.

SHA-1: c83eb56f06b6854a7df49010a1f1e43aabc2a3ad
(0096514)
git   
2020-11-03 17:44   
Branch CR31908 has been created by asuraven.

SHA-1: 8543fa4ebff14ca40cb906a426465429b96faa33


Detailed log of new commits:

Author: asuraven
Date: Tue Nov 3 17:22:14 2020 +0300

    0031908: Draw Harness, TKTopTest - wavefront file path length is limited to 100 characters
    
    * Change file path variable in wavefront function from char[100] to TCollection_AsciiString
(0096516)
kgv   
2020-11-03 17:55   
+  FILE* outfile = fopen(aFile.ToCString(), "w");

Could you please replace fopen() with OSD_OpenFile() in scope of this patch?
(0096517)
git   
2020-11-03 18:10   
Branch CR31908 has been deleted by asuraven.

SHA-1: 8543fa4ebff14ca40cb906a426465429b96faa33
(0096518)
git   
2020-11-03 18:10   
Branch CR31908 has been created by asuraven.

SHA-1: a62d30daead466383f1ca42207f6f122f1ca55e8


Detailed log of new commits:

Author: asuraven
Date: Tue Nov 3 17:22:14 2020 +0300

    0031908: Draw Harness, TKTopTest - wavefront file path length is limited to 100 characters
    
    * Change file path variable in wavefront function from char[100] to TCollection_AsciiString
(0096529)
git   
2020-11-05 11:45   
Branch CR31908 has been deleted by asuraven.

SHA-1: a62d30daead466383f1ca42207f6f122f1ca55e8
(0096530)
git   
2020-11-05 11:45   
Branch CR31908 has been created by asuraven.

SHA-1: 6719ebc5829a47d9f80f32867d4875962f43321c


Detailed log of new commits:

Author: asuraven
Date: Tue Nov 3 17:22:14 2020 +0300

    0031908: Draw Harness, TKTopTest - wavefront file path length is limited to 100 characters
    
    * Change file path variable in wavefront function from char[100] to TCollection_AsciiString
(0096537)
asuraven   
2020-11-05 14:27   
Tests with CR31136_4 are OK:
http://vm-jenkins-test-12.nnov.opencascade.com:8080/view/CR31136_4-master-ASURAVEN/view/COMPARE/ [^]
Please review
(0096549)
msv   
2020-11-05 15:56   
For integration:
occt - CR31908
products - none
(0096938)
bugmaster   
2020-11-21 12:43   
Combination -
OCCT branch : IR-2020-11-20
master SHA - c5892d852bb462075f9db03f31085e35d7b59f35
a206de37fbfa0bf71bd534ae47192bbec23b8522
Products branch : IR-2020-11-20 SHA - a5d1f89f5fa83c955e6a604f57a5b590eb433b43
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: 18024.090000000127 / 17964.340000000077 [+0.33%]
Products
Total CPU difference: 12166.12000000011 / 12169.520000000111 [-0.03%]
Windows-64-VC14:
OCCT
Total CPU difference: 19696.90625 / 19723.125 [-0.13%]
Products
Total CPU difference: 13644.875 / 13567.078125 [+0.57%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0096964)
git   
2020-11-21 13:28   
Branch CR31908 has been deleted by inv.

SHA-1: 6719ebc5829a47d9f80f32867d4875962f43321c