|View Issue Details [ Jump to Notes ] ||[ Issue History ] [ Print ] |
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0028817||Open CASCADE||[OCCT] OCCT:Foundation Classes||public||2017-06-06 14:55||2020-09-11 16:13|
|Assigned To||abv|| |
|Product Version||[OCCT] 5.2.2|| |
|Target Version||[OCCT] 7.6.0*||Fixed in Version|| |
|Summary||0028817: Foundation Classes - Quantity_Date can not handle POSIX time 1 January, 1970|
|Description||Quantity_Date valid range starts with January 1, 1979.|
However some systems after resetting the clock (died battery) to the first possible time defined by POSIX - 1 January, 1970.
As result, while system works normally, the OCCT-based application can not be started due to unhandled Quantity_DateDefinitionError exception.
Quantity_Date is used in several places, including initialization of Data Exchange initialization (IGESData::Init(), Interface_MSG, StepAP209_Construct).
|Steps To Reproduce||- Set system time before '1979.|
- Start OCCT-based application using Data Exchange (STEP/IGES import/export).
|Tags||No tags attached.|
|Test case number||Not required|
|Attached Files|| Screenshot_1970-01-12-01-46-34.png (93,059 bytes) 2017-06-06 14:55|