This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |