Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0032324Open CASCADE[OCCT] OCCT:Modeling Algorithmspublic2021-04-23 15:452021-04-23 16:18
Assigned Tomsv 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.6.0*Fixed in Version 
Summary0032324: Modeling Algorithms - Improve BOPAlgo_Options::DumpErrors() output
DescriptionThe BOPAlgo_Options::DumpErrors method is currently printing error codes to output.
In order to get human-readable errors, you have to perform the following manipulations:
const auto& fails = bop.GetReport()->GetAlerts(Message_Fail);
for (Message_ListOfAlert::Iterator it(fails); it.More(); it.Next())
  Message_Msg msg(it.Value()->GetMessageKey());
  const auto text = msg.Get();

which is not a very convenient way.
Steps To ReproduceBOPAlgo_BOP bop;
std::stringstream errors;
if (bop.HasErrors())
TagsNo tags attached.
Test case number
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2021-04-23 15:45 dbv New Issue
2021-04-23 15:45 dbv Assigned To => msv
2021-04-23 15:46 dbv Description Updated View Revisions
2021-04-23 15:48 emv Description Updated View Revisions
2021-04-23 16:18 kgv Severity minor => feature
2021-04-23 16:18 kgv Summary Improve BOPAlgo_Options::DumpErrors output => Modeling Algorithms - Improve BOPAlgo_Options::DumpErrors() output

Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker