- 🇮🇹Italy apaderno Brescia, 🇮🇹
The issue summary should always describe what the issue is trying to fix and, in the case, of coding standards issues, show which command has been used, which arguments have been used, and which report that command shown.
- Status changed to Needs review
over 1 year ago 7:37am 30 May 2023 - 🇮🇳India chanchal tiwari
I have created a patch to fix this issue. Please review it.
- Status changed to Needs work
over 1 year ago 8:20am 30 May 2023 - Assigned to nitin_lama
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 8:56am 31 May 2023 - 🇮🇳India dev2.addweb
nilesh.addweb → made their first commit to this issue’s fork.
- Assigned to dev2.addweb
- Merge request !169Issue #3240988 by kristiaanvandeneynde, Berdir: Not marking service... → (Open) created by Unnamed author
- Status changed to Needs work
4 months ago 12:49pm 20 August 2024 - 🇵🇭Philippines cleavinjosh
Hi @nilesh.addweb,
I tried to apply MR!169 but it was not applied successfully.
➜ group git:(8.x-1.x) curl https://git.drupalcode.org/project/group/-/merge_requests/169.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 223k 0 223k 0 0 364k 0 --:--:-- --:--:-- --:--:-- 364k patching file composer.json Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file composer.json.rej patching file css/permissions.css patching file css/toolbar.icons.theme.css patching file group.api.php patching file group.info.yml Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file group.info.yml.rej patching file group.install patching file group.module Hunk #5 FAILED at 553. Hunk #6 succeeded at 697 (offset 1 line). Hunk #7 succeeded at 736 (offset 1 line). 1 out of 7 hunks FAILED -- saving rejects to file group.module.rej patching file group.post_update.php patching file modules/gnode/gnode.info.yml Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file modules/gnode/gnode.info.yml.rej patching file modules/gnode/gnode.module patching file modules/gnode/src/Controller/GroupNodeController.php patching file modules/gnode/src/Plugin/GroupContentEnabler/GroupNode.php patching file modules/gnode/src/Plugin/GroupContentEnabler/GroupNodeDeriver.php patching file modules/gnode/tests/src/Functional/EntityOperationsTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file modules/gnode/tests/src/Functional/EntityOperationsTest.php.rej patching file modules/gnode/tests/src/Kernel/GroupNodeConfigTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file modules/gnode/tests/src/Kernel/GroupNodeConfigTest.php.rej patching file src/Access/CalculatedGroupPermissionsInterface.php patching file src/Access/CalculatedGroupPermissionsItem.php patching file src/Access/CalculatedGroupPermissionsTrait.php patching file src/Access/ChainGroupPermissionCalculator.php Hunk #2 FAILED at 217. 1 out of 5 hunks FAILED -- saving rejects to file src/Access/ChainGroupPermissionCalculator.php.rej patching file src/Access/ChainGroupPermissionCalculatorInterface.php patching file src/Access/DefaultGroupPermissionCalculator.php patching file src/Access/GroupAccessResult.php patching file src/Access/GroupContentCreateAccessCheck.php patching file src/Access/GroupContentCreateAnyAccessCheck.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file src/Access/GroupContentCreateAnyAccessCheck.php.rej patching file src/Access/GroupContentCreateEntityAccessCheck.php patching file src/Access/GroupInstalledContentAccessCheck.php patching file src/Access/GroupMemberAccessCheck.php patching file src/Access/GroupOwnsContentAccessCheck.php patching file src/Access/GroupPermissionAccessCheck.php patching file src/Access/GroupPermissionHandler.php Hunk #1 FAILED at 113. Hunk #2 FAILED at 170. Hunk #3 FAILED at 200. Hunk #4 FAILED at 226. 4 out of 4 hunks FAILED -- saving rejects to file src/Access/GroupPermissionHandler.php.rej patching file src/Access/GroupPermissionHandlerInterface.php Hunk #2 FAILED at 49. 1 out of 2 hunks FAILED -- saving rejects to file src/Access/GroupPermissionHandlerInterface.php.rej patching file src/Access/GroupPermissions.php patching file src/Access/RefinableCalculatedGroupPermissionsInterface.php patching file src/Access/SynchronizedGroupPermissionCalculator.php Hunk #2 FAILED at 55. 1 out of 2 hunks FAILED -- saving rejects to file src/Access/SynchronizedGroupPermissionCalculator.php.rej patching file src/Annotation/GroupContentEnabler.php patching file src/Breadcrumb/GroupContentTypeBreadcrumbBuilder.php patching file src/ConfigTranslation/GroupRoleMapper.php patching file src/Controller/GroupMembershipController.php patching file src/Entity/Access/GroupContentAccessControlHandler.php patching file src/Entity/Access/GroupContentQueryAccessHandler.php patching file src/Entity/Access/GroupQueryAccessHandler.php patching file src/Entity/Access/GroupRoleAccessControlHandler.php patching file src/Entity/Access/QueryAccessHandlerBase.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file src/Entity/Access/QueryAccessHandlerBase.php.rej patching file src/Entity/Controller/GroupContentController.php patching file src/Entity/Controller/GroupContentListBuilder.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file src/Entity/Controller/GroupContentListBuilder.php.rej patching file src/Entity/Controller/GroupController.php patching file src/Entity/Controller/GroupListBuilder.php Hunk #2 FAILED at 157. 1 out of 2 hunks FAILED -- saving rejects to file src/Entity/Controller/GroupListBuilder.php.rej patching file src/Entity/Controller/GroupRoleController.php patching file src/Entity/Controller/GroupRoleListBuilder.php Hunk #3 FAILED at 69. 1 out of 4 hunks FAILED -- saving rejects to file src/Entity/Controller/GroupRoleListBuilder.php.rej patching file src/Entity/Controller/GroupTypeController.php patching file src/Entity/Controller/GroupTypeListBuilder.php patching file src/Entity/Form/GroupContentTypeDeleteForm.php patching file src/Entity/Form/GroupContentTypeForm.php patching file src/Entity/Form/GroupForm.php patching file src/Entity/Form/GroupRevisionDeleteForm.php Hunk #2 FAILED at 136. 1 out of 2 hunks FAILED -- saving rejects to file src/Entity/Form/GroupRevisionDeleteForm.php.rej patching file src/Entity/Form/GroupRoleForm.php patching file src/Entity/Form/GroupTypeDeleteForm.php patching file src/Entity/Group.php patching file src/Entity/GroupContent.php patching file src/Entity/GroupContentInterface.php patching file src/Entity/GroupContentTypeInterface.php patching file src/Entity/GroupInterface.php patching file src/Entity/GroupRole.php patching file src/Entity/GroupRoleInterface.php patching file src/Entity/GroupType.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file src/Entity/GroupType.php.rej patching file src/Entity/Routing/GroupContentRouteProvider.php patching file src/Entity/Storage/GroupContentTypeStorageInterface.php patching file src/Entity/Storage/GroupRoleStorage.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 3 out of 3 hunks ignored -- saving rejects to file src/Entity/Storage/GroupRoleStorage.php.rej patching file src/Entity/Storage/GroupRoleStorageInterface.php patching file src/EventSubscriber/ConfigSubscriber.php patching file src/Form/GroupJoinForm.php patching file src/Form/GroupLeaveForm.php patching file src/Form/GroupPermissionsForm.php Hunk #2 FAILED at 103. Hunk #3 FAILED at 179. Hunk #4 FAILED at 191. Hunk #5 succeeded at 244 (offset -3 lines). Hunk #6 succeeded at 272 (offset -3 lines). 3 out of 6 hunks FAILED -- saving rejects to file src/Form/GroupPermissionsForm.php.rej patching file src/Form/GroupSettingsForm.php patching file src/GroupMembership.php patching file src/GroupMembershipLoader.php patching file src/GroupRoleSynchronizer.php Hunk #2 FAILED at 62. Hunk #3 FAILED at 85. 2 out of 3 hunks FAILED -- saving rejects to file src/GroupRoleSynchronizer.php.rej patching file src/GroupRoleSynchronizerInterface.php patching file src/GroupServiceProvider.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file src/GroupServiceProvider.php.rej patching file src/Plugin/Block/GroupOperationsBlock.php patching file src/Plugin/Condition/GroupType.php patching file src/Plugin/GroupContentEnabler/GroupMembership.php patching file src/Plugin/GroupContentEnablerBase.php patching file src/Plugin/GroupContentEnablerCollection.php patching file src/Plugin/GroupContentEnablerInterface.php patching file src/Plugin/GroupContentEnablerManager.php patching file src/Plugin/GroupContentEnablerManagerInterface.php patching file src/Plugin/GroupContentPermissionProvider.php patching file src/Plugin/Menu/LocalAction/WithDestination.php patching file src/Plugin/views/access/GroupPermission.php patching file src/Plugin/views/argument/GroupId.php patching file src/Plugin/views/relationship/GroupContentToEntity.php patching file src/Plugin/views/relationship/GroupContentToEntityBase.php patching file src/Plugin/views/relationship/GroupContentToEntityReverse.php patching file src/Plugin/views/relationship/GroupToGroupContent.php patching file src/ProxyClass/UninstallValidator/GroupContentUninstallValidator.php patching file src/QueryAccess/EntityQueryAlter.php patching file src/UninstallValidator/GroupContentUninstallValidator.php patching file tests/modules/group_test/group_test.info.yml Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tests/modules/group_test/group_test.info.yml.rej patching file tests/modules/group_test_config/group_test_config.info.yml Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tests/modules/group_test_config/group_test_config.info.yml.rej patching file tests/modules/group_test_plugin/group_test_plugin.info.yml Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tests/modules/group_test_plugin/group_test_plugin.info.yml.rej patching file tests/modules/group_test_plugin/src/Entity/EntityTestWithOwner.php patching file tests/modules/group_test_plugin/src/Plugin/GroupContentEnabler/NodeAsContentDeriver.php patching file tests/modules/group_test_views/group_test_views.info.yml Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tests/modules/group_test_views/group_test_views.info.yml.rej patching file tests/src/Functional/EntityOperationsTest.php patching file tests/src/Functional/GroupBrowserTestBase.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 3 out of 3 hunks ignored -- saving rejects to file tests/src/Functional/GroupBrowserTestBase.php.rej patching file tests/src/Functional/GroupCreatorWizardTest.php patching file tests/src/Functional/GroupTypeFormTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tests/src/Functional/GroupTypeFormTest.php.rej patching file tests/src/Kernel/ChainGroupPermissionCalculatorTest.php Hunk #3 FAILED at 38. Hunk #4 FAILED at 68. Hunk #5 FAILED at 79. Hunk #6 FAILED at 91. Hunk #7 FAILED at 122. Hunk #8 FAILED at 132. Hunk #9 FAILED at 142. Hunk #10 FAILED at 154. Hunk #11 FAILED at 175. Hunk #12 FAILED at 189. Hunk #13 FAILED at 203. 11 out of 13 hunks FAILED -- saving rejects to file tests/src/Kernel/ChainGroupPermissionCalculatorTest.php.rej patching file tests/src/Kernel/EntityAccessComplexTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 3 out of 3 hunks ignored -- saving rejects to file tests/src/Kernel/EntityAccessComplexTest.php.rej patching file tests/src/Kernel/EntityAccessTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 3 out of 3 hunks ignored -- saving rejects to file tests/src/Kernel/EntityAccessTest.php.rej patching file tests/src/Kernel/EntityQueryAlterCacheabilityTest.php Hunk #2 FAILED at 15. Hunk #3 FAILED at 34. Hunk #4 FAILED at 58. Hunk #5 FAILED at 80. 4 out of 5 hunks FAILED -- saving rejects to file tests/src/Kernel/EntityQueryAlterCacheabilityTest.php.rej patching file tests/src/Kernel/EntityQueryAlterComplexTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 3 out of 3 hunks ignored -- saving rejects to file tests/src/Kernel/EntityQueryAlterComplexTest.php.rej patching file tests/src/Kernel/EntityQueryAlterTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 5 out of 5 hunks ignored -- saving rejects to file tests/src/Kernel/EntityQueryAlterTest.php.rej patching file tests/src/Kernel/GroupAccessControlHandlerTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tests/src/Kernel/GroupAccessControlHandlerTest.php.rej patching file tests/src/Kernel/GroupConfigTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tests/src/Kernel/GroupConfigTest.php.rej The next patch would create the file tests/src/Kernel/GroupContentCreateAccessTest.php, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tests/src/Kernel/GroupContentCreateAccessTest.php.rej patching file tests/src/Kernel/GroupContentCrudHookTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tests/src/Kernel/GroupContentCrudHookTest.php.rej patching file tests/src/Kernel/GroupContentQueryAccessHandlerTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 10 out of 10 hunks ignored -- saving rejects to file tests/src/Kernel/GroupContentQueryAccessHandlerTest.php.rej patching file tests/src/Kernel/GroupContentStorageTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file tests/src/Kernel/GroupContentStorageTest.php.rej patching file tests/src/Kernel/GroupContentTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tests/src/Kernel/GroupContentTest.php.rej patching file tests/src/Kernel/GroupContentTokenReplaceTest.php patching file tests/src/Kernel/GroupCreatorTest.php patching file tests/src/Kernel/GroupKernelTestBase.php Hunk #2 FAILED at 15. Hunk #3 FAILED at 27. 2 out of 3 hunks FAILED -- saving rejects to file tests/src/Kernel/GroupKernelTestBase.php.rej patching file tests/src/Kernel/GroupQueryAccessHandlerTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 15 out of 15 hunks ignored -- saving rejects to file tests/src/Kernel/GroupQueryAccessHandlerTest.php.rej patching file tests/src/Kernel/GroupRoleStorageTest.php Hunk #2 FAILED at 41. Hunk #3 FAILED at 60. Hunk #4 succeeded at 111 (offset 2 lines). 2 out of 4 hunks FAILED -- saving rejects to file tests/src/Kernel/GroupRoleStorageTest.php.rej patching file tests/src/Kernel/GroupRoleSynchronizationTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tests/src/Kernel/GroupRoleSynchronizationTest.php.rej patching file tests/src/Kernel/GroupTest.php Hunk #2 FAILED at 23. 1 out of 2 hunks FAILED -- saving rejects to file tests/src/Kernel/GroupTest.php.rej patching file tests/src/Kernel/GroupTokenReplaceKernelTestBase.php Hunk #1 FAILED at 21. 1 out of 1 hunk FAILED -- saving rejects to file tests/src/Kernel/GroupTokenReplaceKernelTestBase.php.rej patching file tests/src/Kernel/GroupTokenReplaceTest.php patching file tests/src/Kernel/GroupTypeImportTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tests/src/Kernel/GroupTypeImportTest.php.rej patching file tests/src/Kernel/GroupTypeTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file tests/src/Kernel/GroupTypeTest.php.rej patching file tests/src/Kernel/LatestRevisionAccessTest.php Hunk #1 FAILED at 2. Hunk #2 FAILED at 20. Hunk #3 FAILED at 46. 3 out of 3 hunks FAILED -- saving rejects to file tests/src/Kernel/LatestRevisionAccessTest.php.rej patching file tests/src/Kernel/RevisionUiAccessTest.php Hunk #1 FAILED at 3. Hunk #2 FAILED at 47. Hunk #3 FAILED at 206. Hunk #4 succeeded at 767 (offset 5 lines). Hunk #5 FAILED at 794. 4 out of 5 hunks FAILED -- saving rejects to file tests/src/Kernel/RevisionUiAccessTest.php.rej patching file tests/src/Kernel/Views/GroupContentToEntityRelationshipTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file tests/src/Kernel/Views/GroupContentToEntityRelationshipTest.php.rej patching file tests/src/Kernel/Views/GroupContentToEntityReverseRelationshipTest.php patching file tests/src/Kernel/Views/GroupIdArgumentTest.php Hunk #1 FAILED at 20. Hunk #2 FAILED at 41. 2 out of 3 hunks FAILED -- saving rejects to file tests/src/Kernel/Views/GroupIdArgumentTest.php.rej patching file tests/src/Kernel/Views/GroupToGroupContentRelationshipTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file tests/src/Kernel/Views/GroupToGroupContentRelationshipTest.php.rej patching file tests/src/Unit/GroupContentAccessControlHandlerTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 10 out of 10 hunks ignored -- saving rejects to file tests/src/Unit/GroupContentAccessControlHandlerTest.php.rej patching file tests/src/Unit/GroupContentEnablerManagerTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 4 out of 4 hunks ignored -- saving rejects to file tests/src/Unit/GroupContentEnablerManagerTest.php.rej The next patch would create the file tests/src/Unit/GroupContentEntityAccessControlHandlerTest.php, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tests/src/Unit/GroupContentEntityAccessControlHandlerTest.php.rej patching file tests/src/Unit/GroupContentPermissionProviderTest.php patching file tests/src/Unit/GroupPermissionCheckerTest.php Hunk #1 FAILED at 36. 1 out of 12 hunks FAILED -- saving rejects to file tests/src/Unit/GroupPermissionCheckerTest.php.rej patching file tests/src/Unit/GroupPermissionHashGeneratorTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tests/src/Unit/GroupPermissionHashGeneratorTest.php.rej patching file tests/src/Unit/GroupPermissionsCacheContextTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] n Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tests/src/Unit/GroupPermissionsCacheContextTest.php.rej patching file tests/src/Unit/GroupRoleSynchronizerTest.php Hunk #2 FAILED at 33. Hunk #3 FAILED at 119. 2 out of 3 hunks FAILED -- saving rejects to file tests/src/Unit/GroupRoleSynchronizerTest.php.rej patching file tests/src/Unit/IsGroupMemberCacheContextTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tests/src/Unit/IsGroupMemberCacheContextTest.php.rej patching file tests/src/Unit/RefinableCalculatedGroupPermissionsTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tests/src/Unit/RefinableCalculatedGroupPermissionsTest.php.rej patching file tests/src/Unit/RouteGroupCacheContextTest.php Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tests/src/Unit/RouteGroupCacheContextTest.php.rej ➜ group git:(8.x-1.x)
➜ group git:(8.x-1.x) curl https://git.drupalcode.org/project/group/-/merge_requests/169.diff | git apply -v % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 223k 0 223k 0 0 471k 0 --:--:-- --:--:-- --:--:-- 470k Checking patch composer.json... error: while searching for: "name": "drupal/group", "type": "drupal-module", "description": "This module allows you to group users, content and other entities", "homepage": "http://drupal.org/project/group", "authors": [ { "name": "Kristiaan Van den Eynde", error: patch failed: composer.json:2 error: composer.json: patch does not apply Checking patch css/permissions.css... Checking patch css/toolbar.icons.theme.css... Checking patch group.api.php... Checking patch group.info.yml... error: while searching for: description: 'Allows you to group users, content and other entities' package: 'Group' type: 'module' core_version_requirement: ^8.8 || ^9 configure: 'group.settings' dependencies: - 'drupal:options' error: patch failed: group.info.yml:2 error: group.info.yml: patch does not apply Checking patch group.install... Checking patch group.module... error: while searching for: } } foreach (Element::children($form['actions']) as $name) { // Remove preview button as it redirects back to the wrong form. if ($name == 'preview') { unset($form['actions'][$name]); error: patch failed: group.module:558 error: group.module: patch does not apply Checking patch group.post_update.php... Checking patch modules/gnode/gnode.info.yml... error: while searching for: description: 'Enables Group functionality for the Node module' package: 'Group' type: 'module' core_version_requirement: ^8.8 || ^9 dependencies: - 'drupal:node' - 'group:group' error: patch failed: modules/gnode/gnode.info.yml:2 error: modules/gnode/gnode.info.yml: patch does not apply Checking patch modules/gnode/gnode.module... Checking patch modules/gnode/src/Controller/GroupNodeController.php... Checking patch modules/gnode/src/Plugin/GroupContentEnabler/GroupNode.php... Checking patch modules/gnode/src/Plugin/GroupContentEnabler/GroupNodeDeriver.php... Checking patch modules/gnode/tests/src/Functional/EntityOperationsTest.php... error: while searching for: /** * {@inheritdoc} */ public static $modules = ['gnode']; /** * {@inheritdoc} error: patch failed: modules/gnode/tests/src/Functional/EntityOperationsTest.php:16 error: modules/gnode/tests/src/Functional/EntityOperationsTest.php: patch does not apply Checking patch modules/gnode/tests/src/Kernel/GroupNodeConfigTest.php... error: while searching for: * * @var array */ public static $modules = ['group', 'options', 'entity', 'variationcache', 'node', 'gnode', 'views']; /** * Tests that the module's config installs properly. error: patch failed: modules/gnode/tests/src/Kernel/GroupNodeConfigTest.php:16 error: modules/gnode/tests/src/Kernel/GroupNodeConfigTest.php: patch does not apply Checking patch src/Access/CalculatedGroupPermissionsInterface.php... Checking patch src/Access/CalculatedGroupPermissionsItem.php... Checking patch src/Access/CalculatedGroupPermissionsTrait.php... Checking patch src/Access/ChainGroupPermissionCalculator.php... error: while searching for: * The combined persistent cache contexts from all calculators. */ protected function getPersistentCacheContexts($constant_name) { $cid = 'group_permission:chain_calulator:contexts:' . $constant_name; // Retrieve the contexts from the regular static cache if available. if ($static_cache = $this->regularStatic->get($cid)) { error: patch failed: src/Access/ChainGroupPermissionCalculator.php:217 error: src/Access/ChainGroupPermissionCalculator.php: patch does not apply Checking patch src/Access/ChainGroupPermissionCalculatorInterface.php... Checking patch src/Access/DefaultGroupPermissionCalculator.php... Checking patch src/Access/GroupAccessResult.php... Checking patch src/Access/GroupContentCreateAccessCheck.php... Checking patch src/Access/GroupContentCreateAnyAccessCheck.php... error: while searching for: $storage = $this->entityTypeManager->getStorage('group_content_type'); $entity_query = $storage->getQuery(); $entity_query->condition('group_type', $group->bundle()); $group_content_type_ids = $entity_query->execute(); // Find out which ones the user has access to create. foreach ($group_content_type_ids as $group_content_type_id) { error: patch failed: src/Access/GroupContentCreateAnyAccessCheck.php:57 error: src/Access/GroupContentCreateAnyAccessCheck.php: patch does not apply Checking patch src/Access/GroupContentCreateEntityAccessCheck.php... Checking patch src/Access/GroupInstalledContentAccessCheck.php... Checking patch src/Access/GroupMemberAccessCheck.php... Checking patch src/Access/GroupOwnsContentAccessCheck.php... Checking patch src/Access/GroupPermissionAccessCheck.php... Checking patch src/Access/GroupPermissionHandler.php... error: while searching for: * {@inheritdoc} */ public function getPermissions($include_plugins = FALSE) { $all_permissions = $this->buildPermissionsYaml(); // Add the plugin defined permissions to the whole. We query all defined // plugins to avoid scenarios where modules want to ship with default // configuration but can't because their plugins may not be installed along // with the module itself (i.e.: non-enforced plugins). if ($include_plugins) { /** @var \Drupal\group\Plugin\GroupContentEnablerInterface $plugin */ foreach ($this->pluginManager->getAll() as $plugin) { $provider = $plugin->getProvider(); $section = $plugin->getLabel()->__toString(); foreach ($plugin->getPermissions() as $permission_name => $permission) { $permission += ['provider' => $provider, 'section' => $section]; $all_permissions[$permission_name] = $this->completePermission($permission); } } } return $this->sortPermissions($all_permissions); } /** * {@inheritdoc} */ public function getPermissionsByGroupType(GroupTypeInterface $group_type) { $all_permissions = $this->buildPermissionsYaml(); // Add the plugin defined permissions to the whole. foreach ($group_type->getInstalledContentPlugins() as $plugin) { $provider = $plugin->getProvider(); $section = $plugin->getLabel()->__toString(); /** @var \Drupal\group\Plugin\GroupContentEnablerInterface $plugin */ foreach ($plugin->getPermissions() as $permission_name => $permission) { $permission += ['provider' => $provider, 'section' => $section]; $all_permissions[$permission_name] = $this->completePermission($permission); } } error: patch failed: src/Access/GroupPermissionHandler.php:113 error: src/Access/GroupPermissionHandler.php: patch does not apply Checking patch src/Access/GroupPermissionHandlerInterface.php... error: while searching for: * the module providing the permission. You may set this to another * module's name to make it appear as if the permission was provided by * that module. * - section: (optional) The section name of the permission. This is used to * maintain a clear overview on the permissions form. Defaults to the * plugin name for plugin provided permissions and to "General" for all * other permissions. */ public function getPermissions($include_plugins = FALSE); error: patch failed: src/Access/GroupPermissionHandlerInterface.php:49 error: src/Access/GroupPermissionHandlerInterface.php: patch does not apply Checking patch src/Access/GroupPermissions.php... Checking patch src/Access/RefinableCalculatedGroupPermissionsInterface.php... Checking patch src/Access/SynchronizedGroupPermissionCalculator.php... error: while searching for: $group_role_storage = $this->entityTypeManager->getStorage('group_role'); $roles = $account->getRoles(TRUE); foreach ($group_type_storage->getQuery()->execute() as $group_type_id) { $permission_sets = []; $group_role_ids = []; error: patch failed: src/Access/SynchronizedGroupPermissionCalculator.php:53 error: src/Access/SynchronizedGroupPermissionCalculator.php: patch does not apply Checking patch src/Annotation/GroupContentEnabler.php... Checking patch src/Breadcrumb/GroupContentTypeBreadcrumbBuilder.php... Checking patch src/ConfigTranslation/GroupRoleMapper.php... Checking patch src/Controller/GroupMembershipController.php... Checking patch src/Entity/Access/GroupContentAccessControlHandler.php... Checking patch src/Entity/Access/GroupContentQueryAccessHandler.php... Checking patch src/Entity/Access/GroupQueryAccessHandler.php... Checking patch src/Entity/Access/GroupRoleAccessControlHandler.php... Checking patch src/Entity/Access/QueryAccessHandlerBase.php... error: while searching for: // Allow other modules to modify the conditions before they are used. $event = new QueryAccessEvent($conditions, $operation, $account, $entity_type_id); $this->eventDispatcher->dispatch("entity.query_access", $event); $this->eventDispatcher->dispatch("entity.query_access.{$entity_type_id}", $event); return $conditions; } error: patch failed: src/Entity/Access/QueryAccessHandlerBase.php:87 error: src/Entity/Access/QueryAccessHandlerBase.php: patch does not apply Checking patch src/Entity/Controller/GroupContentController.php... Checking patch src/Entity/Controller/GroupContentListBuilder.php... error: while searching for: $query->pager($this->limit); } return $query->execute(); } /** error: patch failed: src/Entity/Controller/GroupContentListBuilder.php:85 error: src/Entity/Controller/GroupContentListBuilder.php: patch does not apply Checking patch src/Entity/Controller/GroupController.php... Checking patch src/Entity/Controller/GroupListBuilder.php... error: while searching for: $query->pager($this->limit); } return $query->execute(); } /** error: patch failed: src/Entity/Controller/GroupListBuilder.php:157 error: src/Entity/Controller/GroupListBuilder.php: patch does not apply Checking patch src/Entity/Controller/GroupRoleController.php... Checking patch src/Entity/Controller/GroupRoleListBuilder.php... error: while searching for: $query->pager($this->limit); } return array_values($query->execute()); } /** error: patch failed: src/Entity/Controller/GroupRoleListBuilder.php:69 error: src/Entity/Controller/GroupRoleListBuilder.php: patch does not apply Checking patch src/Entity/Controller/GroupTypeController.php... Checking patch src/Entity/Controller/GroupTypeListBuilder.php... Checking patch src/Entity/Form/GroupContentTypeDeleteForm.php... Checking patch src/Entity/Form/GroupContentTypeForm.php... Checking patch src/Entity/Form/GroupForm.php... Checking patch src/Entity/Form/GroupRevisionDeleteForm.php... error: while searching for: protected function countRevisions(GroupInterface $group) { return $this->groupStorage ->getQuery() ->allRevisions() ->condition('id', $group->id()) ->count() error: patch failed: src/Entity/Form/GroupRevisionDeleteForm.php:136 error: src/Entity/Form/GroupRevisionDeleteForm.php: patch does not apply Checking patch src/Entity/Form/GroupRoleForm.php... Checking patch src/Entity/Form/GroupTypeDeleteForm.php... Checking patch src/Entity/Group.php... Checking patch src/Entity/GroupContent.php... Checking patch src/Entity/GroupContentInterface.php... Checking patch src/Entity/GroupContentTypeInterface.php... Checking patch src/Entity/GroupInterface.php... Checking patch src/Entity/GroupRole.php... Checking patch src/Entity/GroupRoleInterface.php... Checking patch src/Entity/GroupType.php... error: while searching for: $query->condition('internal', FALSE); } return $query->execute(); } /** error: patch failed: src/Entity/GroupType.php:160 error: src/Entity/GroupType.php: patch does not apply Checking patch src/Entity/Routing/GroupContentRouteProvider.php... Checking patch src/Entity/Storage/GroupContentTypeStorageInterface.php... Checking patch src/Entity/Storage/GroupRoleStorage.php... error: while searching for: $query->condition('id', array_keys($definitions)); // Create the group roles that do not exist yet. foreach (array_diff_key($definitions, $query->execute()) as $definition) { $this->save($this->create($definition)); } } error: patch failed: src/Entity/Storage/GroupRoleStorage.php:200 error: src/Entity/Storage/GroupRoleStorage.php: patch does not apply Checking patch src/Entity/Storage/GroupRoleStorageInterface.php... Checking patch src/EventSubscriber/ConfigSubscriber.php... Checking patch src/Form/GroupJoinForm.php... Checking patch src/Form/GroupLeaveForm.php... Checking patch src/Form/GroupPermissionsForm.php... error: while searching for: // Create a list of group permissions ordered by their provider and section. foreach ($this->groupPermissionHandler->getPermissionsByGroupType($this->getGroupType()) as $permission_name => $permission) { $by_provider_and_section[$permission['provider']][$permission['section']][$permission_name] = $permission; } // Always put the 'General' section at the top if provided. foreach ($by_provider_and_section as $provider => $sections) { if (isset($sections['General'])) { $by_provider_and_section[$provider] = ['General' => $sections['General']] + $sections; } } error: patch failed: src/Form/GroupPermissionsForm.php:103 error: src/Form/GroupPermissionsForm.php: patch does not apply Checking patch src/Form/GroupSettingsForm.php... Checking patch src/GroupMembership.php... Checking patch src/GroupMembershipLoader.php... Checking patch src/GroupRoleSynchronizer.php... error: while searching for: public function getGroupRoleIdsByGroupTypes($group_type_ids) { $group_role_ids = []; $role_ids = $this->entityTypeManager->getStorage('user_role')->getQuery()->execute(); foreach ($role_ids as $role_id) { foreach ($group_type_ids as $group_type_id) { $group_role_ids[] = $this->getGroupRoleId($group_type_id, $role_id); error: patch failed: src/GroupRoleSynchronizer.php:63 error: src/GroupRoleSynchronizer.php: patch does not apply Checking patch src/GroupRoleSynchronizerInterface.php... Checking patch src/GroupServiceProvider.php... error: while searching for: // choking on the variation_cache_factory service no longer being there. if (!$container->hasDefinition('variation_cache_factory')) { $definition = new Definition('\Drupal\group\VariationCacheFactoryUpdateFix'); $container->addDefinitions(['variation_cache_factory' => $definition]); } } error: patch failed: src/GroupServiceProvider.php:19 error: src/GroupServiceProvider.php: patch does not apply Checking patch src/Plugin/Block/GroupOperationsBlock.php... Checking patch src/Plugin/Condition/GroupType.php... Checking patch src/Plugin/GroupContentEnabler/GroupMembership.php... Checking patch src/Plugin/GroupContentEnablerBase.php... Checking patch src/Plugin/GroupContentEnablerCollection.php... Checking patch src/Plugin/GroupContentEnablerInterface.php... Checking patch src/Plugin/GroupContentEnablerManager.php... Checking patch src/Plugin/GroupContentEnablerManagerInterface.php... Checking patch src/Plugin/GroupContentPermissionProvider.php... Checking patch src/Plugin/Menu/LocalAction/WithDestination.php... Checking patch src/Plugin/views/access/GroupPermission.php... Checking patch src/Plugin/views/argument/GroupId.php... Checking patch src/Plugin/views/relationship/GroupContentToEntity.php... Checking patch src/Plugin/views/relationship/GroupContentToEntityBase.php... Checking patch src/Plugin/views/relationship/GroupContentToEntityReverse.php... Checking patch src/Plugin/views/relationship/GroupToGroupContent.php... Checking patch src/ProxyClass/UninstallValidator/GroupContentUninstallValidator.php... Checking patch src/QueryAccess/EntityQueryAlter.php... Checking patch src/UninstallValidator/GroupContentUninstallValidator.php... Checking patch tests/modules/group_test/group_test.info.yml... error: while searching for: description: 'Support module for Group tests.' package: 'Testing' type: 'module' core_version_requirement: ^8.8 || ^9 dependencies: - 'group:group' - 'drupal:user' error: patch failed: tests/modules/group_test/group_test.info.yml:2 error: tests/modules/group_test/group_test.info.yml: patch does not apply Checking patch tests/modules/group_test_config/group_test_config.info.yml... error: while searching for: description: 'Support module for group configuration tests.' package: 'Testing' type: 'module' core_version_requirement: ^8.8 || ^9 dependencies: - 'group:group' error: patch failed: tests/modules/group_test_config/group_test_config.info.yml:2 error: tests/modules/group_test_config/group_test_config.info.yml: patch does not apply Checking patch tests/modules/group_test_plugin/group_test_plugin.info.yml... error: while searching for: description: 'Provides group plugins to run tests with.' package: 'Testing' type: 'module' core_version_requirement: ^8.8 || ^9 dependencies: - 'group:group' - 'drupal:language' error: patch failed: tests/modules/group_test_plugin/group_test_plugin.info.yml:2 error: tests/modules/group_test_plugin/group_test_plugin.info.yml: patch does not apply Checking patch tests/modules/group_test_plugin/src/Entity/EntityTestWithOwner.php... Checking patch tests/modules/group_test_plugin/src/Plugin/GroupContentEnabler/NodeAsContentDeriver.php... Checking patch tests/modules/group_test_views/group_test_views.info.yml... error: while searching for: description: 'Provides default views for group views tests.' package: 'Testing' type: 'module' core_version_requirement: ^8.8 || ^9 dependencies: - 'group:group' - 'drupal:views' error: patch failed: tests/modules/group_test_views/group_test_views.info.yml:2 error: tests/modules/group_test_views/group_test_views.info.yml: patch does not apply Checking patch tests/src/Functional/EntityOperationsTest.php... Checking patch tests/src/Functional/GroupBrowserTestBase.php... error: while searching for: /** * {@inheritdoc} */ public static $modules = ['group', 'group_test_config']; /** * The entity type manager service. error: patch failed: tests/src/Functional/GroupBrowserTestBase.php:12 error: tests/src/Functional/GroupBrowserTestBase.php: patch does not apply Checking patch tests/src/Functional/GroupCreatorWizardTest.php... Checking patch tests/src/Functional/GroupTypeFormTest.php... error: while searching for: /** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->entityFieldManager = $this->container->get('entity_field.manager'); } error: patch failed: tests/src/Functional/GroupTypeFormTest.php:19 error: tests/src/Functional/GroupTypeFormTest.php: patch does not apply Checking patch tests/src/Kernel/ChainGroupPermissionCalculatorTest.php... error: while searching for: /** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->permissionCalculator = $this->container->get('group_permission.chain_calculator'); $this->roleSynchronizer = $this->container->get('group_role.synchronizer'); error: patch failed: tests/src/Kernel/ChainGroupPermissionCalculatorTest.php:39 error: tests/src/Kernel/ChainGroupPermissionCalculatorTest.php: patch does not apply Checking patch tests/src/Kernel/EntityAccessComplexTest.php... error: while searching for: /** * {@inheritdoc} */ public static $modules = ['group_test_plugin', 'node']; /** * The node storage to use in testing. error: patch failed: tests/src/Kernel/EntityAccessComplexTest.php:17 error: tests/src/Kernel/EntityAccessComplexTest.php: patch does not apply Checking patch tests/src/Kernel/EntityAccessTest.php... error: while searching for: /** * {@inheritdoc} */ public static $modules = ['group_test_plugin']; /** * The test entity storage to use in testing. error: patch failed: tests/src/Kernel/EntityAccessTest.php:12 error: tests/src/Kernel/EntityAccessTest.php: patch does not apply Checking patch tests/src/Kernel/EntityQueryAlterCacheabilityTest.php... error: while searching for: /** * {@inheritdoc} */ public static $modules = ['node']; /** * The grouped entity storage to use in testing. error: patch failed: tests/src/Kernel/EntityQueryAlterCacheabilityTest.php:16 error: tests/src/Kernel/EntityQueryAlterCacheabilityTest.php: patch does not apply Checking patch tests/src/Kernel/EntityQueryAlterComplexTest.php... error: while searching for: /** * {@inheritdoc} */ public static $modules = ['group_test_plugin', 'node', 'views']; /** * The grouped storage to use in testing. error: patch failed: tests/src/Kernel/EntityQueryAlterComplexTest.php:24 error: tests/src/Kernel/EntityQueryAlterComplexTest.php: patch does not apply Checking patch tests/src/Kernel/EntityQueryAlterTest.php... error: while searching for: /** * {@inheritdoc} */ public static $modules = ['group_test_plugin', 'views']; /** * The grouped entity storage to use in testing. error: patch failed: tests/src/Kernel/EntityQueryAlterTest.php:20 error: tests/src/Kernel/EntityQueryAlterTest.php: patch does not apply Checking patch tests/src/Kernel/GroupAccessControlHandlerTest.php... error: while searching for: /** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->installConfig(['user']); $this->groupType = $this->createGroupType(['id' => 'foo', 'creator_membership' => FALSE]); error: patch failed: tests/src/Kernel/GroupAccessControlHandlerTest.php:27 error: tests/src/Kernel/GroupAccessControlHandlerTest.php: patch does not apply Checking patch tests/src/Kernel/GroupConfigTest.php... error: while searching for: * * @var array */ public static $modules = ['group', 'options', 'entity', 'variationcache', 'block', 'views']; /** * Tests that the module's config installs properly. error: patch failed: tests/src/Kernel/GroupConfigTest.php:16 error: tests/src/Kernel/GroupConfigTest.php: patch does not apply Checking patch tests/src/Kernel/GroupContentCreateAccessTest.php... error: tests/src/Kernel/GroupContentCreateAccessTest.php: already exists in working directory Checking patch tests/src/Kernel/GroupContentCrudHookTest.php... error: while searching for: /** * {@inheritdoc} */ protected function setUp() { parent::setUp(); // Required to be able to delete accounts. See User::postDelete(). error: patch failed: tests/src/Kernel/GroupContentCrudHookTest.php:12 error: tests/src/Kernel/GroupContentCrudHookTest.php: patch does not apply Checking patch tests/src/Kernel/GroupContentQueryAccessHandlerTest.php... error: while searching for: /** * {@inheritdoc} */ public static $modules = ['group_test_plugin']; /** * The query access handler. error: patch failed: tests/src/Kernel/GroupContentQueryAccessHandlerTest.php:18 error: tests/src/Kernel/GroupContentQueryAccessHandlerTest.php: patch does not apply Checking patch tests/src/Kernel/GroupContentStorageTest.php... error: while searching for: /** * {@inheritdoc} */ public static $modules = ['group_test_plugin']; /** * The group content storage handler. error: patch failed: tests/src/Kernel/GroupContentStorageTest.php:15 error: tests/src/Kernel/GroupContentStorageTest.php: patch does not apply Checking patch tests/src/Kernel/GroupContentTest.php... error: while searching for: /** * {@inheritdoc} */ public static $modules = ['group_test', 'group_test_plugin']; /** * Tests that entity url templates are functional. error: patch failed: tests/src/Kernel/GroupContentTest.php:16 error: tests/src/Kernel/GroupContentTest.php: patch does not apply Checking patch tests/src/Kernel/GroupContentTokenReplaceTest.php... Checking patch tests/src/Kernel/GroupCreatorTest.php... Checking patch tests/src/Kernel/GroupKernelTestBase.php... error: while searching for: * @todo Refactor tests to not automatically use group_test_config unless they * have a good reason to. */ public static $modules = ['group', 'options', 'entity', 'variationcache', 'group_test_config']; /** * The content enabler plugin manager. error: patch failed: tests/src/Kernel/GroupKernelTestBase.php:16 error: tests/src/Kernel/GroupKernelTestBase.php: patch does not apply Checking patch tests/src/Kernel/GroupQueryAccessHandlerTest.php... error: while searching for: /** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $entity_type = $this->entityTypeManager->getDefinition('group'); $this->handler = GroupQueryAccessHandler::createInstance($this->container, $entity_type); error: patch failed: tests/src/Kernel/GroupQueryAccessHandlerTest.php:25 error: tests/src/Kernel/GroupQueryAccessHandlerTest.php: patch does not apply Checking patch tests/src/Kernel/GroupRoleStorageTest.php... error: while searching for: /** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->storage = $this->entityTypeManager->getStorage('group_role'); error: patch failed: tests/src/Kernel/GroupRoleStorageTest.php:44 error: tests/src/Kernel/GroupRoleStorageTest.php: patch does not apply Checking patch tests/src/Kernel/GroupRoleSynchronizationTest.php... error: while searching for: /** * {@inheritdoc} */ protected function setUp() { parent::setUp(); // The sheer functionality of the synchronizer service is tested elsewhere error: patch failed: tests/src/Kernel/GroupRoleSynchronizationTest.php:21 error: tests/src/Kernel/GroupRoleSynchronizationTest.php: patch does not apply Checking patch tests/src/Kernel/GroupTest.php... error: while searching for: /** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->group = $this->createGroup(); } error: patch failed: tests/src/Kernel/GroupTest.php:23 error: tests/src/Kernel/GroupTest.php: patch does not apply Checking patch tests/src/Kernel/GroupTokenReplaceKernelTestBase.php... error: while searching for: */ protected $tokenService; protected function setUp() { parent::setUp(); $this->interfaceLanguage = \Drupal::languageManager()->getCurrentLanguage(); $this->tokenService = \Drupal::token(); error: patch failed: tests/src/Kernel/GroupTokenReplaceKernelTestBase.php:21 error: tests/src/Kernel/GroupTokenReplaceKernelTestBase.php: patch does not apply Checking patch tests/src/Kernel/GroupTokenReplaceTest.php... Checking patch tests/src/Kernel/GroupTypeImportTest.php... error: while searching for: /** * {@inheritdoc} */ protected function setUp() { parent::setUp(); // The system.site key is required for import validation. error: patch failed: tests/src/Kernel/GroupTypeImportTest.php:15 error: tests/src/Kernel/GroupTypeImportTest.php: patch does not apply Checking patch tests/src/Kernel/GroupTypeTest.php... error: while searching for: /** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->groupType = $this->entityTypeManager ->getStorage('group_type') error: patch failed: tests/src/Kernel/GroupTypeTest.php:24 error: tests/src/Kernel/GroupTypeTest.php: patch does not apply Checking patch tests/src/Kernel/LatestRevisionAccessTest.php... error: while searching for: namespace Drupal\Tests\group\Kernel; use Drupal\Core\Url; use Drupal\group\Entity\GroupInterface; use Drupal\Tests\content_moderation\Traits\ContentModerationTestTrait; use Symfony\Cmf\Component\Routing\RouteObjectInterface; use Symfony\Component\HttpFoundation\Request; /** error: patch failed: tests/src/Kernel/LatestRevisionAccessTest.php:2 error: tests/src/Kernel/LatestRevisionAccessTest.php: patch does not apply Checking patch tests/src/Kernel/RevisionUiAccessTest.php... error: while searching for: namespace Drupal\Tests\group\Kernel; use Drupal\Core\Entity\ContentEntityInterface; use Drupal\Core\Url; use Drupal\group\Entity\GroupInterface; use Symfony\Cmf\Component\Routing\RouteObjectInterface; use Symfony\Component\HttpFoundation\Request; /** error: patch failed: tests/src/Kernel/RevisionUiAccessTest.php:3 error: tests/src/Kernel/RevisionUiAccessTest.php: patch does not apply Checking patch tests/src/Kernel/Views/GroupContentToEntityRelationshipTest.php... error: while searching for: /** * {@inheritdoc} */ public static $modules = [ 'group', 'options', 'entity', error: patch failed: tests/src/Kernel/Views/GroupContentToEntityRelationshipTest.php:18 error: tests/src/Kernel/Views/GroupContentToEntityRelationshipTest.php: patch does not apply Checking patch tests/src/Kernel/Views/GroupContentToEntityReverseRelationshipTest.php... Checking patch tests/src/Kernel/Views/GroupIdArgumentTest.php... error: while searching for: /** * {@inheritdoc} */ public static $modules = ['group', 'options', 'entity', 'variationcache', 'field', 'text', 'group_test_config', 'group_test_views']; /** * Views used by this test. error: patch failed: tests/src/Kernel/Views/GroupIdArgumentTest.php:20 error: tests/src/Kernel/Views/GroupIdArgumentTest.php: patch does not apply Checking patch tests/src/Kernel/Views/GroupToGroupContentRelationshipTest.php... error: while searching for: /** * {@inheritdoc} */ public static $modules = [ 'group', 'options', 'entity', error: patch failed: tests/src/Kernel/Views/GroupToGroupContentRelationshipTest.php:19 error: tests/src/Kernel/Views/GroupToGroupContentRelationshipTest.php: patch does not apply Checking patch tests/src/Unit/GroupContentAccessControlHandlerTest.php... error: while searching for: /** * {@inheritdoc} */ public function setUp() { parent::setUp(); $cache_context_manager = $this->prophesize(CacheContextsManager::class); error: patch failed: tests/src/Unit/GroupContentAccessControlHandlerTest.php:39 error: tests/src/Unit/GroupContentAccessControlHandlerTest.php: patch does not apply Checking patch tests/src/Unit/GroupContentEnablerManagerTest.php... error: while searching for: /** * {@inheritdoc} */ protected function setUp() { parent::setUp(); $this->cacheBackend = $this->prophesize(CacheBackendInterface::class); $this->moduleHandler = $this->prophesize(ModuleHandlerInterface::class); $this->moduleHandler->getImplementations('entity_type_build')->willReturn([]); $this->moduleHandler->alter('group_content_info', Argument::type('array'))->willReturn(NULL); $this->entityTypeManager = $this->prophesize(EntityTypeManagerInterface::class); error: patch failed: tests/src/Unit/GroupContentEnablerManagerTest.php:69 error: tests/src/Unit/GroupContentEnablerManagerTest.php: patch does not apply Checking patch tests/src/Unit/GroupContentEntityAccessControlHandlerTest.php... error: tests/src/Unit/GroupContentEntityAccessControlHandlerTest.php: already exists in working directory Checking patch tests/src/Unit/GroupContentPermissionProviderTest.php... Checking patch tests/src/Unit/GroupPermissionCheckerTest.php... error: while searching for: /** * {@inheritdoc} */ public function setUp() { parent::setUp(); $this->permissionCalculator = $this->prophesize(ChainGroupPermissionCalculatorInterface::class); $this->permissionChecker = new GroupPermissionChecker($this->permissionCalculator->reveal()); error: patch failed: tests/src/Unit/GroupPermissionCheckerTest.php:36 error: tests/src/Unit/GroupPermissionCheckerTest.php: patch does not apply Checking patch tests/src/Unit/GroupPermissionHashGeneratorTest.php... error: while searching for: /** * {@inheritdoc} */ public function setUp() { parent::setUp(); new Settings(['hash_salt' => 'SALT']); $private_key = $this->prophesize(PrivateKey::class); error: patch failed: tests/src/Unit/GroupPermissionHashGeneratorTest.php:55 error: tests/src/Unit/GroupPermissionHashGeneratorTest.php: patch does not apply Checking patch tests/src/Unit/GroupPermissionsCacheContextTest.php... error: while searching for: /** * {@inheritdoc} */ public function setUp() { parent::setUp(); $this->currentUser = $this->prophesize(AccountProxyInterface::class); $this->permissionsHashGenerator = $this->prophesize(GroupPermissionsHashGeneratorInterface::class); error: patch failed: tests/src/Unit/GroupPermissionsCacheContextTest.php:33 error: tests/src/Unit/GroupPermissionsCacheContextTest.php: patch does not apply Checking patch tests/src/Unit/GroupRoleSynchronizerTest.php... error: while searching for: /** * {@inheritdoc} */ public function setUp() { parent::setUp(); $this->entityTypeManager = $this->prophesize(EntityTypeManagerInterface::class); $this->groupRoleSynchronizer = new GroupRoleSynchronizer($this->entityTypeManager->reveal()); error: patch failed: tests/src/Unit/GroupRoleSynchronizerTest.php:35 error: tests/src/Unit/GroupRoleSynchronizerTest.php: patch does not apply Checking patch tests/src/Unit/IsGroupMemberCacheContextTest.php... error: while searching for: /** * {@inheritdoc} */ public function setUp() { parent::setUp(); $this->currentUser = $this->prophesize(AccountProxyInterface::class)->reveal(); $this->group = $this->prophesize(GroupInterface::class)->reveal(); error: patch failed: tests/src/Unit/IsGroupMemberCacheContextTest.php:39 error: tests/src/Unit/IsGroupMemberCacheContextTest.php: patch does not apply Checking patch tests/src/Unit/RefinableCalculatedGroupPermissionsTest.php... error: while searching for: $this->assertNotFalse($calculated_permissions->getItem(CGPII::SCOPE_GROUP_TYPE, 'bar'), 'Original item that did not conflict was kept.'); $this->assertNotFalse($calculated_permissions->getItem(CGPII::SCOPE_GROUP_TYPE, 'baz'), 'Incoming item that did not conflict was added.'); $this->assertSame(['baz', 'bob', 'charlie'], $calculated_permissions->getItem(CGPII::SCOPE_GROUP_TYPE, 'foo')->getPermissions(), 'Permissions were merged properly.'); $this->assertSame(['bar', 'foo'], $calculated_permissions->getCacheContexts(), 'Cache contexts were merged properly'); $this->assertSame(['bar', 'foo'], $calculated_permissions->getCacheTags(), 'Cache tags were merged properly'); } } error: patch failed: tests/src/Unit/RefinableCalculatedGroupPermissionsTest.php:129 error: tests/src/Unit/RefinableCalculatedGroupPermissionsTest.php: patch does not apply Checking patch tests/src/Unit/RouteGroupCacheContextTest.php... error: while searching for: /** * {@inheritdoc} */ public function setUp() { parent::setUp(); $this->currentRouteMatch = $this->prophesize(RouteMatchInterface::class); $this->entityTypeManager = $this->prophesize(EntityTypeManagerInterface::class); error: patch failed: tests/src/Unit/RouteGroupCacheContextTest.php:36 error: tests/src/Unit/RouteGroupCacheContextTest.php: patch does not apply ➜ group git:(8.x-1.x)
Please check and advise.
Thank you. - 🇮🇹Italy apaderno Brescia, 🇮🇹
The merge request is 174 commits behind the upstream repository. It needs to be rebased.
- Merge request !173Created a new merge request to get the list of all the PHP_CodeSniffer errors/warnings to fix → (Open) created by apaderno
- Status changed to Closed: outdated
4 months ago 7:00pm 20 August 2024 - 🇮🇹Italy apaderno Brescia, 🇮🇹
There are no PHP_CodeSniffer errors/warnings reported before doing any change in the module.
I take that the 174 commits done after the merge request was created already fixed them. - Issue was unassigned.