Skip to content

Instantly share code, notes, and snippets.

Jody Hamilton jodyHamilton

Block or report user

Report or block jodyHamilton

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:525a873f7cb0d1669a1b158670da1eaf
diff --git a/src/FieldCollectionItemAccessControlHandler.php b/src/FieldCollectionItemAccessControlHandler.php
index 4c79e3d..41339d8 100644
--- a/src/FieldCollectionItemAccessControlHandler.php
+++ b/src/FieldCollectionItemAccessControlHandler.php
@@ -23,9 +23,13 @@ protected function checkAccess(EntityInterface $entity, $operation, AccountInter
}
// Here we will be if host entity was not set and entity is not new.
elseif (!$entity->isNew()) {
+ // Applications that were migrated throw errors on first save though
+ // the ui. This is a temporary work around for that.
You can’t perform that action at this time.