Skip to content

Update UpdateDescriptions method to accumulate failure descriptions a…#56

Merged
peterbarancek merged 4 commits into
devfrom
54-_BUG_UpdateComprehensiveResult_overwrites_failure_description_instead_of_accumulating_it_upd
Jun 5, 2026
Merged

Update UpdateDescriptions method to accumulate failure descriptions a…#56
peterbarancek merged 4 commits into
devfrom
54-_BUG_UpdateComprehensiveResult_overwrites_failure_description_instead_of_accumulating_it_upd

Conversation

@peterbarancek
Copy link
Copy Markdown
Collaborator

…nd error codes from original result

Copilot AI review requested due to automatic review settings June 4, 2026 06:22
…failure_description_instead_of_accumulating_it_upd
Copy link
Copy Markdown

Copilot AI left a comment

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 updates TcoInspectionGroup.UpdateDescriptions so it appends new failure descriptions and error codes onto the original comprehensive result state (rather than reusing the potentially already-mutated inoResult), aligning its behavior with how similar accumulation is handled elsewhere.

Changes:

  • Added an inOriginalResult : TcoComprehensiveResult input parameter to UpdateDescriptions.
  • Switched the string accumulation source from inoResult.Failures/ErrorCodes to inOriginalResult.Failures/ErrorCodes.

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

Comment on lines +565 to +567
VAR_INPUT
inOriginalResult:TcoComprehensiveResult;;
END_VAR
…scription_instead_of_accumulating_it_upd' of https://github.com/Inxton/TcOpen into 54-_BUG_UpdateComprehensiveResult_overwrites_failure_description_instead_of_accumulating_it_upd
@peterbarancek peterbarancek merged commit 6e4a4f7 into dev Jun 5, 2026
1 check failed
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