View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025682 | Community | OCCT:Application Framework | public | 2015-01-06 05:26 | 2023-08-07 15:52 |
Reporter | Vico Liang | Assigned To | bugmaster | ||
Priority | low | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | VC++ 2013 | ||
Product Version | 6.3.1 | ||||
Target Version | Unscheduled | ||||
Summary | 0025682: Application Framework - 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 | |||||
related to | 0025534 | closed | bugmaster | Community | TObj_Application unicode path issue. |
related to | 0026749 | closed | Community | TObj_Assistant::FindModel fails to find model with unicode name. | |
related to | 0025683 | assigned | vro | Community | Application Framework - No entrance to construct a LDOMBasicString from TCollection_ExtendedString |
child of | 0022484 | closed | bugmaster | Open CASCADE | UNICODE characters support. |
|
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; } |
|
BinTObjDrivers_ReferenceDriver.cxx (5,068 bytes) |
|
XmlTObjDrivers_ReferenceDriver.cxx (5,387 bytes) |
|
TObj_Assistant.hxx (3,520 bytes) |
|
TObj_Assistant.cxx (6,688 bytes) |
|
XmlObjMgt.hxx (3,691 bytes) |
|
XmlObjMgt.cxx (14,592 bytes) |
|
The fix code are uploaded please have a review. |
|
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 |
|
Hello Vico, this issue seem to be the same as 0026749 and should be resolved by patch for the latter, can you please confirm this? |
|
please close this. |
|
We do not have a test for references between TObj documents, to be added |
|
Dear @bugmaster please close the issue |
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 |
|
Note Added: 0037254 | |
2015-03-05 11:44 |
|
Priority | normal => low |
2015-03-05 11:44 |
|
Target Version | 6.9.0 => 7.1.0 |
2016-02-17 18:17 |
|
Assigned To | szy => mpv |
2016-10-25 16:05 |
|
Target Version | 7.1.0 => 7.2.0 |
2017-05-25 15:20 |
|
Target Version | 7.2.0 => Unscheduled |
2020-10-14 12:06 | kgv | Relationship added | child of 0022484 |
2020-10-14 12:12 | kgv | Product Version | => 6.3.1 |
2020-10-14 12:12 | kgv | Target Version | Unscheduled => 7.6.0 |
2020-10-14 12:12 | kgv | Summary | TObj_Model::GetModelName() should store in document in unicode mode instead of ascii mode. => Application Framework - TObj_Model::GetModelName() should store in document in unicode mode instead of ascii mode |
2020-10-14 12:12 | kgv | Relationship added | related to 0025534 |
2020-10-25 21:08 |
|
Relationship added | related to 0026749 |
2020-10-25 21:09 |
|
Relationship added | related to 0025683 |
2020-10-28 07:26 |
|
Note Added: 0096321 | |
2020-10-28 07:26 |
|
Assigned To | mpv => Vico Liang |
2020-10-28 07:26 |
|
Status | new => feedback |
2020-10-30 17:44 | Vico Liang | Note Added: 0096412 | |
2020-11-11 22:02 |
|
Assigned To | Vico Liang => abv |
2020-11-11 22:03 |
|
Note Added: 0096672 | |
2021-11-01 18:14 |
|
Target Version | 7.6.0 => 7.7.0 |
2022-10-24 10:39 |
|
Target Version | 7.7.0 => 7.8.0 |
2023-08-02 02:06 | dpasukhi | Assigned To | abv => bugmaster |
2023-08-02 02:06 | dpasukhi | Note Added: 0113834 | |
2023-08-02 02:06 | dpasukhi | Target Version | 7.8.0 => Unscheduled |
2023-08-07 15:52 | vglukhik | Status | feedback => closed |
2023-08-07 15:52 | vglukhik | Resolution | open => fixed |