View Issue Details

IDProjectCategoryView StatusLast Update
0005712Open CASCADEOCCT:Application Frameworkpublic2012-01-17 16:21
ReporterenvAssigned To 
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
OSAll 
Fixed in Version5.2.0 
Summary0005712: Incorrect creation of the Messages for Message Driver
DescriptionExample:
  TCollection_ExtendedString aMsg("Warning: ");
  aMsg.Cat("could not read the version in ");
Cat() function returns new string but not appends to aMsg. So aMsg contains only
"Warning: ".

This bug found in the following classes:
PCDM_ReadWriter_1
CDF_ClipBoard
MDocStd_DocumentRetrievalDriver
MDocStd_DocumentStorageDriver
Additional information
and documentation updates
Documentation remark, added by ENV 2004-04-16 15:34:28:

Changes:
In order to fix this bug modified next files:
PCDM_ReaderWriter_1.cxx
CDF_Clipboard.cxx
MDocStd_DocumentRetrievalDriver.cxx
MDocStd_DocumentStorageDriver.cxx

All files contain same misprint, which causes not completed generation of
message for Message Driver.
In all files changed piece of code which generates message.
Example old code:
aMsg.Cat("could not read the version in ");
New code:
aMsg = aMsg.Cat("could not read the version in ");
Modified entities:
PCDM/PCDM_ReadWriter_1/ReadReferenceCounter
PCDM/PCDM_ReadWriter_1/ReadReferences
PCDM/PCDM_ReadWriter_1/ReadDocumentVersion
CDF/CDF_Clipboard/GetSynchronize
MDocStd/MDocStd_DocumentRetrievalDriver/AttributeDrivers
MDocStd/MDocStd_DocumentStorageDriver/AttributeDrivers
TagsNo tags attached.
Test case number

Attached Files

  • OCC5712_fix.tar.gz (5,776 bytes)

Activities

2004-04-16 15:10

 

OCC5712_fix.tar.gz (5,776 bytes)

Issue History

Date Modified Username Field Change
2004-04-16 17:01 bugmaster Assigned To bugmaster => env
2004-04-16 17:01 bugmaster Status new => assigned
2004-04-21 21:11 mkv CC => aki
2004-05-11 16:12 bugmaster Status assigned => tested
2004-05-17 15:17 bugmaster Status tested => verified
2004-08-02 17:51 bugmaster Status verified => closed
2004-08-02 17:51 bugmaster Fixed in Version => 5.1.3
2004-08-02 17:51 bugmaster Resolution @0@ => fixed
2011-08-02 10:32 bugmaster Category OCCT:OCAF => OCCT:Application Framework
2012-01-17 16:21 atp Assigned To env =>
2012-01-17 16:21 atp Description Updated
2012-01-17 16:21 atp Additional Information Updated