View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022594 | Community | OCCT:Data Exchange | public | 2011-06-10 16:58 | 2014-10-09 18:46 |
Reporter | Assigned To | ||||
Priority | normal | Severity | trivial | ||
Status | closed | Resolution | duplicate | ||
OS | All | ||||
Fixed in Version | 6.6.0 | ||||
Summary | 0022594: XCAFDoc_DocumentTool attributes are removed from internal map upon closing the XDE document | ||||
Description | RLN contribution (RLN_fix430) - Summary: XCAFDoc_DocumentTool attributes are removed from internal map upon closing the XDE document - Detailed description: XCAFDoc_DocTool.cxx contains static map RootLDocLMap. Prior to the fix, when the document got closed this map would contain orphan pair {root, doc_lab}. When a new doc is created its rootlab might have the same LabNotePtr and hence the same hash function value. Therefore XCAFDoc_DocumentTool::DocLabel() considered the label has already been registered RootLDocLMap and returned a wrong label (instead of creating new). Further attempt to access that label threw an exception. Note. Perhaps a better approach than storing a global map would be a simple tree node attribute hosted on a root label and pointing to a label holdng XCAFDoc_DocumentTool. This would be a reliable self-contained implementation. ========================================================= Branch OCC22594_XcafdocDoctoolDestructor is created. | ||||
Tags | No tags attached. | ||||
Test case number | |||||
duplicate of | 0023593 | closed | Roman Lygin | XCAFDoc_DocumentTool label must be removed from internal map upon closing the XDE document |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-08-02 11:12 | bugmaster | Category | OCCT:DTE => OCCT:Data Exchange |
2011-11-24 15:52 |
|
Assigned To | bugmaster => pdn |
2011-11-24 15:52 |
|
Status | acknowledged => assigned |
2011-11-24 15:52 |
|
Resolution | suspended => reopened |
2011-11-24 15:52 |
|
Fixed in Version | EMPTY => |
2011-11-24 15:52 |
|
Description Updated | |
2014-10-09 18:40 |
|
Note Added: 0032943 | |
2014-10-09 18:40 |
|
Assigned To | pdn => abv |
2014-10-09 18:40 |
|
Status | assigned => resolved |
2014-10-09 18:46 |
|
Relationship added | duplicate of 0023593 |
2014-10-09 18:46 |
|
Note Added: 0032946 | |
2014-10-09 18:46 |
|
Status | resolved => closed |
2014-10-09 18:46 |
|
Resolution | reopened => duplicate |
2014-10-09 18:46 |
|
Fixed in Version | => 6.6.0 |