Skip to content

Issue #32. Check that group field type is not empty#71

Merged
laryn merged 1 commit intobackdrop-contrib:1.x-2.xfrom
argiepiano:1.x-2.x-issue-32-OgGroupAndUngroup
Apr 25, 2022
Merged

Issue #32. Check that group field type is not empty#71
laryn merged 1 commit intobackdrop-contrib:1.x-2.xfrom
argiepiano:1.x-2.x-issue-32-OgGroupAndUngroup

Conversation

@argiepiano
Copy link
Copy Markdown
Collaborator

Fixes #32 for OgGroupAndUngroup tests

This small tweak of og_is_group_audience_field() is necessary in PHP 7.4+ in order for OgGroupAndUngroup to pass.

This tweak also helps catch typos in field names, or wrong field names - it avoids throwing an Exception for a null array offset in PHP 7.4+

Fixes backdrop-contrib#32.

This small tweak of `og_is_group_audience_field()` is necessary in PHP 7.4+ in order for `OgGroupAndUngroup` to pass.

This tweak also helps catch typos in field names, or wrong field names - it avoids throwing an Exception for a null array offset in PHP 7.4+
@argiepiano argiepiano mentioned this pull request Apr 25, 2022
@argiepiano
Copy link
Copy Markdown
Collaborator Author

IMPORTANT: for this fix to have an effect and allow OgGroupAndUngroup to pass, PR #64 MUST be merged first.

@laryn laryn closed this Apr 25, 2022
@laryn laryn reopened this Apr 25, 2022
@laryn
Copy link
Copy Markdown
Member

laryn commented Apr 25, 2022

I merged #64, then closed and reopened this PR to trigger tests again.

@laryn
Copy link
Copy Markdown
Member

laryn commented Apr 25, 2022

✅ Organic groups: OG group and ungroup (OgGroupAndUngroup) 28 passes, 0 fails, and 0 exceptions. [10.078s]

@laryn laryn merged commit 36facb6 into backdrop-contrib:1.x-2.x Apr 25, 2022
@laryn
Copy link
Copy Markdown
Member

laryn commented Apr 25, 2022

Thanks @argiepiano!

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.

Get tests working

2 participants