Fixes deprecation message logic when no data object present - #20561
Merged
adfoster-r7 merged 2 commits intoSep 24, 2025
Merged
Conversation
adfoster-r7
reviewed
Sep 24, 2025
Co-authored-by: cgranleese-r7 <69522014+cgranleese-r7@users.noreply.github.com>
adfoster-r7
approved these changes
Sep 24, 2025
cgranleese-r7
deleted the
fixes-report-note-warning-when-no-data-key
branch
September 24, 2025 13:29
Contributor
Author
Release NotesFixes a crash when running modules that reported notes with no data present, such as the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #20558.
With the previous implementation I added #19939 if no
dataobject was present in thereport_notemethod it would incorrectly return the deprecation message. Now anilcheck has been added, so ifdatais not present it will not return the depreciation message.Testing
Can be any target or module that make use of
report_note. Below I will add what I used:### Target
Module
Within the chosen module, comment out the
dataobject from thereport_notecall:Before
After
Verification