View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010138 | Open CASCADE | OCCT:Application Framework | public | 2005-10-04 14:00 | 2012-01-12 12:24 |
Reporter | vro | Assigned To | |||
Priority | normal | Severity | trivial | ||
Status | closed | Resolution | fixed | ||
OS | All | ||||
Fixed in Version | 6.2.1 | ||||
Summary | 0010138: Crash on attempt to copy an OCAF attribute: TDataStd_RealArray, TDataStd_IntegerArray | ||||
Description | On attempt to copy one of the OCAF attributes (TDataStd_RealArray or TDataStd_IntegerArray) the application crashes. The crash happens in ::Paste() method of the attribute calling the method ::ChangeArray(). The last mentioned method requires some additional checkings on NULL in order to prevent the crash. In addition, the static method Set() of these attributes doesn't process the lower / upper limits of the keeping arrays in case of re-initialization of the array. Also, the method ::ChangeArray() checks the whole array for equality in order to prevent backupping of the attribute. It seems reasonable to allow the array to backup itself on any user request and let him manipulate the backups. | ||||
Additional information and documentation updates | Documentation remark, added by SZY 2007-06-01 14:23:39: New features: To method ::ChangeArray() of TDataStd_IntegerArray, TDataStd_RealArray and TDataStd-ExtStringArray OCAF attributes added a boolean flag <isCheckItems> indicating comparison of each item of the input array with items of the internal array of OCAF attribute. If the flag is equal to true (default value), the OCAF attribute compare the arrays and call the backup methods only if the arrays are different (the user actually changes the arrays). If the flag is set to false, the input array replaces the internal array of OCAF attribute without any check. The flag is applicable to the case when dimensions of arrays are equal. Changes: There are several changes in the behaviour of these two OCAF attributes: 1) The method ChangeArray() modified to fix bug and to be comparible with the previus functionality 2) Implementation of several methods: Value, Upper, Lower, Length, Dump is changed to be more optimal. Modified entities: TDataStd_IntegerArray TDataStd_RealArray TDataStd_ExtStringArray | ||||
Tags | No tags attached. | ||||
Test case number | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2005-10-07 13:49 | bugmaster | CC | => vro |
2005-10-07 13:49 | bugmaster | Assigned To | bugmaster => szy |
2005-10-07 13:49 | bugmaster | Status | new => assigned |
2005-10-11 09:36 |
|
Assigned To | szy => vro |
2005-10-11 11:56 | vro | CC | => mkv, szy |
2005-10-11 11:56 | vro | Status | assigned => resolved |
2006-10-19 18:38 | bugmaster | Assigned To | vro => bugmaster |
2006-10-19 18:38 | bugmaster | Status | resolved => assigned |
2006-10-19 18:40 | bugmaster | Assigned To | bugmaster => vro |
2007-05-18 11:59 | bugmaster | Assigned To | vro => szy |
2007-05-22 12:24 |
|
Status | assigned => resolved |
2007-05-31 16:20 | bugmaster | Status | resolved => assigned |
2007-06-01 16:24 |
|
Status | assigned => resolved |
2007-06-07 16:19 | bugmaster | Status | resolved => tested |
2007-07-27 17:14 | bugmaster | Status | tested => verified |
2009-06-23 19:04 | bugmaster | Status | verified => closed |
2009-06-23 19:04 | bugmaster | Resolution | @0@ => fixed |
2011-08-02 10:32 | bugmaster | Category | OCCT:OCAF => OCCT:Application Framework |
2012-01-12 12:24 |
|
Description Updated | |
2012-01-12 12:24 |
|
Additional Information Updated |