Skip to content

acumulation group inspection#58

Merged
peterbarancek merged 2 commits into
devfrom
54-_BUG_UpdateComprehensiveResult_overwrites_failure_description_instead_of_accumulating_it_upd
Jun 10, 2026
Merged

acumulation group inspection#58
peterbarancek merged 2 commits into
devfrom
54-_BUG_UpdateComprehensiveResult_overwrites_failure_description_instead_of_accumulating_it_upd

Conversation

@peterbarancek

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings June 10, 2026 09:38
…failure_description_instead_of_accumulating_it_upd

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts how TcoInspectionGroup.UpdateComprehensiveResult accumulates failure descriptions and error codes into the overall comprehensive result when an inspection fails.

Changes:

  • Switches concatenation inputs from _refOverallResult.* to _originalOverallResult.* when appending _currentRunResult failure/error details.
  • Keeps the overall result reset to _originalOverallResult before marking the result as Failed and aggregating details.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 545 to +546
IF _refOverallResult.Failures<>'' THEN
_refOverallResult.Failures := concat(concat(_refOverallResult.Failures,';'), _currentRunResult.Failures);
_refOverallResult.Failures := concat(concat(_originalOverallResult.Failures,';'), _currentRunResult.Failures);
Comment on lines 551 to +552
IF _refOverallResult.ErrorCodes<>'' THEN
_refOverallResult.ErrorCodes := concat(concat(_refOverallResult.ErrorCodes,';'),_currentRunResult.ErrorCodes);
_refOverallResult.ErrorCodes := concat(concat(_originalOverallResult.ErrorCodes,';'),_currentRunResult.ErrorCodes);
@peterbarancek peterbarancek merged commit d014e03 into dev Jun 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants