Skip to content

fix: allow empty string comparison - #384

Open
Clebam wants to merge 1 commit into
puppetlabs:mainfrom
Clebam:main
Open

fix: allow empty string comparison#384
Clebam wants to merge 1 commit into
puppetlabs:mainfrom
Clebam:main

Conversation

@Clebam

@Clebam Clebam commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Handle empty string nullification
Handle testing to validate empty string behavior ==> should compare
empty array and empty hash ==> still nullified

Additional Context

This PR changed the behavior upon the comparison and the previously fixed caveat of empty string being nullified has been lost

Related Issues (if any)

This is a closed issue but the problem reappeared #264

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified.

@Clebam
Clebam requested a review from a team as a code owner August 27, 2026 09:39
@Clebam
Clebam force-pushed the main branch 3 times, most recently from 2b9650a to c2b9b3b Compare August 27, 2026 11:14
@jst-cyr

jst-cyr commented Aug 27, 2026

Copy link
Copy Markdown
Member

Running CI tests for this PR via #386

@jst-cyr

jst-cyr commented Aug 27, 2026

Copy link
Copy Markdown
Member

I ran the acceptance tests as a branch, instead of a fork, just in case there would be a different logical path in the testing. Changes are still green (though code coverage tool is reporting that the project is not hitting the target, but that is unrelated to this PR).

Given the targeted nature of the change, and the fact it is restoring a previous bug fix that was undone by a recent PR, I suggest we move forward with this fix and release it as a patch release before we put any major releases out so that the current version is patched.

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