View Issue Details

IDProjectCategoryView StatusLast Update
0033355CommunityOCCT:Data Exchangepublic2023-08-07 15:56
Reportercqwuxiaolong_156936 Assigned Tobugmaster  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version7.7.0 
Target Version7.8.0 
Summary0033355: Data Exchange - SetLayer incorrect string
Description
    TCollection_AsciiString extStr("你好.xbf");
    _layerTool->SetLayer(mb, extStr);


    _layerTool->SetLayer(mb, "你好.xbf");

Two different errors, Please see the attachment
TagsNo tags attached.
Test case number

Activities

dpasukhi

2023-04-03 11:04

administrator   ~0113350

Dear @cqwuxiaolong_156936
Please attahe a file. There is problem with attaching in creating stage.

dpasukhi

2023-04-03 11:13

administrator   ~0113352

Dear @cqwuxiaolong_156936
There the same problem with your previous ticket - 'const char*' parameter.
So, in this case you need to create the own variable TCollection_ExtendedString aPath("你好.xbf", true) and use it.
The other solution - use 'wchar_t' or 'char16'_t istdead of 'const char'. "你好.xbf" - const char by default that is not correct

dpasukhi

2023-08-02 01:52

administrator   ~0113827

Dear @bugmaster
please close the issue

Issue History

Date Modified Username Field Change
2023-04-03 10:28 cqwuxiaolong_156936 New Issue
2023-04-03 10:28 cqwuxiaolong_156936 Assigned To => ika
2023-04-03 11:03 dpasukhi Category OCCT:Application Framework => OCCT:Data Exchange
2023-04-03 11:03 dpasukhi Product Version => 7.7.0
2023-04-03 11:03 dpasukhi Target Version => 7.8.0
2023-04-03 11:03 dpasukhi Summary setlayer string error (version 7.8.0) => Data Exchange - SetLayer incorrect string
2023-04-03 11:03 dpasukhi Description Updated
2023-04-03 11:04 dpasukhi Note Added: 0113350
2023-04-03 11:13 dpasukhi Assigned To ika => cqwuxiaolong_156936
2023-04-03 11:13 dpasukhi Status new => feedback
2023-04-03 11:13 dpasukhi Note Added: 0113352
2023-08-02 01:51 dpasukhi Assigned To cqwuxiaolong_156936 => bugmaster
2023-08-02 01:52 dpasukhi Note Added: 0113827
2023-08-07 15:56 vglukhik Status feedback => closed
2023-08-07 15:56 vglukhik Resolution open => no change required