Fix TypeError in _ensure_bool: str has no attribute 'tolower'#7679
Fix TypeError in _ensure_bool: str has no attribute 'tolower'#7679
Conversation
ggainey
left a comment
There was a problem hiding this comment.
Zach - 7571 is fixed, this is its own bugfix. You can add changelog entries without a specific github issue - see https://pulpproject.org/pulpcore/docs/dev/guides/git/#changelog-update , you can name the changefile something like "+fix_ensure_bool.bugfix"
|
Apologies, will update it, thank you all for the feedback! 😄 |
b642c4b to
1596a91
Compare
Backport to 3.110: 💚 backport PR created✅ Backport PR branch: Backported as #7680 🤖 @patchback |
|
Katello would like to request a 3.105 backport for this. |
Will backport to everything the original PR (#7651) went to. |
Backport to 3.49: 💚 backport PR created✅ Backport PR branch: Backported as #7684 🤖 @patchback |
Backport to 3.63: 💚 backport PR created✅ Backport PR branch: Backported as #7685 🤖 @patchback |
Backport to 3.73: 💚 backport PR created✅ Backport PR branch: Backported as #7683 🤖 @patchback |
Backport to 3.85: 💚 backport PR created✅ Backport PR branch: Backported as #7681 🤖 @patchback |
Backport to 3.105: 💚 backport PR created✅ Backport PR branch: Backported as #7682 🤖 @patchback |
Summary
_ensure_boolinpulpcore/app/tasks/export.py(introduced in 438bdc8) callsvalue.tolower()which does not exist on Python strings. This causes incremental content exports to fail with:Fix changes both occurrences to
value.lower().🤖 Generated with Claude Code