Anonymous | Login | 2019-02-16 15:28 MSK | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0025682 | Community | [OCCT] OCCT:Application Framework | public | 2015-01-06 05:26 | 2017-05-25 15:20 | ||||||||
Reporter | Vico Liang | ||||||||||||
Assigned To | mpv | ||||||||||||
Priority | low | Severity | minor | ||||||||||
Status | new | Resolution | open | ||||||||||
Platform | Windows | OS | VC++ 2013 | OS Version | 64 bit | ||||||||
Product Version | |||||||||||||
Target Version | [OCCT] Unscheduled | Fixed in Version | |||||||||||
Summary | 0025682: TObj_Model::GetModelName() should store in document in unicode mode instead of ascii mode. | ||||||||||||
Description | These places are affected: TObj_Assistant::FindModel(const Standard_CString theName); BinTObjDrivers_ReferenceDriver XmlTObjDrivers_ReferenceDriver | ||||||||||||
Tags | No tags attached. | ||||||||||||
Test case number | |||||||||||||
Attached Files | ![]() ![]() ![]() ![]() ![]() ![]() | ||||||||||||
![]() |
|
(0035919) Vico Liang (developer) 2015-01-06 06:25 |
A new method can be added to fix the unicode model name issue. Handle(TObj_Model) TObj_Assistant::FindModel(const TCollection_ExtendedString& theName) { Standard_Integer i = getModels().Length(); Handle(TObj_Model) aModel; for (; i > 0; i--) { aModel = Handle(TObj_Model)::DownCast(getModels().Value(i)); if (theName == aModel->GetModelName()->String()) break; } if (i == 0) aModel.Nullify(); return aModel; } |
(0035920) Vico Liang (developer) 2015-01-06 07:02 |
The fix code are uploaded please have a review. |
(0037254) szy (administrator) 2015-02-09 19:00 |
Dear Vico, I would suggested you to make the contribution (of source files) via the Collaborative portal (using OCCT Git) - http://dev.opencascade.org/index.php?q=home/get_involved. [^] As you probably know the website dedicated to contributors is available now: http://dev.opencascade.org. [^] It would allow as 1) sped-up the process as 2) track all processing history of the issue in frames of the current bug. SZY |
![]() |
|||
Date Modified | Username | Field | Change |
2015-01-06 05:26 | Vico Liang | New Issue | |
2015-01-06 05:26 | Vico Liang | Assigned To | => szy |
2015-01-06 06:25 | Vico Liang | Note Added: 0035919 | |
2015-01-06 07:00 | Vico Liang | File Added: BinTObjDrivers_ReferenceDriver.cxx | |
2015-01-06 07:01 | Vico Liang | File Added: XmlTObjDrivers_ReferenceDriver.cxx | |
2015-01-06 07:01 | Vico Liang | File Added: TObj_Assistant.hxx | |
2015-01-06 07:01 | Vico Liang | File Added: TObj_Assistant.cxx | |
2015-01-06 07:01 | Vico Liang | File Added: XmlObjMgt.hxx | |
2015-01-06 07:02 | Vico Liang | File Added: XmlObjMgt.cxx | |
2015-01-06 07:02 | Vico Liang | Note Added: 0035920 | |
2015-02-09 19:00 | szy | Note Added: 0037254 | |
2015-03-05 11:44 | szy | Priority | normal => low |
2015-03-05 11:44 | szy | Target Version | 6.9.0 => 7.1.0 |
2016-02-17 18:17 | szy | Assigned To | szy => mpv |
2016-10-25 16:05 | mpv | Target Version | 7.1.0 => 7.2.0 |
2017-05-25 15:20 | mpv | Target Version | 7.2.0 => Unscheduled |
Copyright © 2000 - 2019 MantisBT Team |