Skip to content

fix: $randomActiveViewer variable filtering#2627

Merged
ebiggz merged 2 commits intocrowbartools:v5from
phroggster:fix_2576
Jul 21, 2024
Merged

fix: $randomActiveViewer variable filtering#2627
ebiggz merged 2 commits intocrowbartools:v5from
phroggster:fix_2576

Conversation

@phroggster
Copy link
Collaborator

Description of the Change

Corrects the behavior of the $randomActiveViewer variable to allow for filtering again, and adds better handling of "null" vs $null parameters.

The issue appears to have originated with 042cc56, when CustomRolesManager.getRoleByName migrated from returning an array of strings to an array of objects.

Applicable Issues

#2576

Testing

Pending, TBD.

Screenshots

Not applicable.

Also upgraded string vs null parameter type checking to allow the
examples to function.

Per issue crowbartools#2576
@phroggster phroggster requested a review from ebiggz as a code owner July 19, 2024 16:07
Copy link
Member

@ebiggz ebiggz left a comment

Choose a reason for hiding this comment

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

Nice catch, thanks for the fix!

@ebiggz ebiggz enabled auto-merge (squash) July 21, 2024 21:07
@ebiggz ebiggz merged commit ca18815 into crowbartools:v5 Jul 21, 2024
@phroggster phroggster deleted the fix_2576 branch July 22, 2024 13:04
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

Comments