Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow checkboxes/radios #311

Merged
merged 1 commit into from
Sep 4, 2016
Merged

allow checkboxes/radios #311

merged 1 commit into from
Sep 4, 2016

Conversation

chx
Copy link
Collaborator

@chx chx commented Sep 3, 2016

This allows using checkboxes/radios

@chx chx force-pushed the radios branch 2 times, most recently from 6689fcc to ca4d91a Compare September 3, 2016 20:14
@@ -160,7 +161,7 @@ function og_entity_create_access(AccountInterface $account, array $context, $bun
$handler = Og::getSelectionHandler($field_definition);

if ($handler->getReferenceableEntities()) {
return Accessresult::neutral();
return AccessResult::neutral();
Copy link
Owner

Choose a reason for hiding this comment

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

👍

Copy link
Owner

Choose a reason for hiding this comment

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

@RoySegall we are probably missing a Kernel test to cover this line, would you mind creating a test in a separate PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

PHP classnames are not case sensitive but file systems might be so this is an interesting bug which might not trigger ever... but it's better be fixed.

@chx
Copy link
Collaborator Author

chx commented Sep 4, 2016

I took out the public part now this is really small.

@amitaibu
Copy link
Owner

amitaibu commented Sep 4, 2016

I've restarted Travis, I suspect there's something in the GroupTab tests that randomly fails, but it's not related to this PR.

@amitaibu amitaibu merged commit 6bc7a86 into 8.x-1.x Sep 4, 2016
@amitaibu amitaibu deleted the radios branch September 4, 2016 20:16
@amitaibu
Copy link
Owner

amitaibu commented Sep 4, 2016

Merged, thanks.

Btw, next time you can open a PR against Gizra/og -- moved it back there to get more visibility

@amitaibu
Copy link
Owner

amitaibu commented Sep 4, 2016

Oh, and completely off topic - I'd be happy if you could maybe point me in the right direction with Gizra#163 (comment)

pfrenssen added a commit that referenced this pull request May 12, 2019
Throw an exception when calling `MembershipManager::getGroupIds()` with an entity which is not group content
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