View Issue Details

IDProjectCategoryView StatusLast Update
0032324Open CASCADEOCCT:Modeling Algorithmspublic2022-10-24 10:41
Reporterdbv Assigned Tomsv  
Status newResolutionopen 
Target Version7.8.0 
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


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
2021-04-23 15:48 emv Description Updated
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
2021-08-29 19:24 msv Target Version 7.6.0 => 7.7.0
2022-10-24 10:41 szy Target Version 7.7.0 => 7.8.0