Requirement Variation Cache

Created on 10 April 2024, 8 months ago
Updated 29 May 2024, 6 months ago

Problem/Motivation

Since variation cache is in drupal since 10.2. Could there be a version lauched where variation cache not is required. Now i install groups where there is no requirement for variation cache in groups, but because of flexible permissions variation cache is installed and i canΒ΄t uninstall it. (also i get now this message as well LogicException: No group ID provided for user.is_group_member cache context. in Drupal\group\Cache\Context\IsGroupMemberCacheContext->getCacheableMetadata() (line 99 of E:\laragon\www\hi\modules\contrib\group\src\Cache\Context\IsGroupMemberCacheContext.php).)

Steps to reproduce

Clean install drupal 10.2
PHP 8.2.14
Group Sites 1.0.1 enabeld
Group context : Path prefix : 1.0.0-rc3 enabeld

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Closed: outdated

Version

1.1

Component

Code

Created by

πŸ‡§πŸ‡·Brazil btriest

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @btriest
  • πŸ‡¨πŸ‡³China jungle Chongqing, China

    jungle β†’ changed the visibility of the branch btriest-3439957-requirement-variation-cache-patch-40e4 to hidden.

  • πŸ‡¨πŸ‡³China jungle Chongqing, China

    jungle β†’ changed the visibility of the branch btriest-3439957-requirement-variation-cache-patch-40e4 to active.

  • πŸ‡ΊπŸ‡ΈUnited States seth.e.shaw

    We'd need to bump the Drupal requirement to ^10.2 in composer.json to drop variationcache β†’ .

    According to grep, there are a few pieces that need updating to do this:

    $ grep -r variationcache web/modules/contrib/flexible_permissions/
    web/modules/contrib/flexible_permissions/tests/src/Unit/ChainPermissionCalculatorTest.php:use Drupal\variationcache\Cache\VariationCacheInterface;
    web/modules/contrib/flexible_permissions/composer.json:    "drupal/variationcache": "^1.0"
    web/modules/contrib/flexible_permissions/flexible_permissions.services.yml:    class: 'Drupal\variationcache\Cache\VariationCacheInterface'
    web/modules/contrib/flexible_permissions/flexible_permissions.services.yml:    class: 'Drupal\variationcache\Cache\VariationCacheInterface'
    web/modules/contrib/flexible_permissions/flexible_permissions.info.yml:  - 'variationcache:variationcache'
    web/modules/contrib/flexible_permissions/src/ChainPermissionCalculator.php:use Drupal\variationcache\Cache\VariationCacheInterface;
    web/modules/contrib/flexible_permissions/src/ChainPermissionCalculator.php:   * @var \Drupal\variationcache\Cache\VariationCacheInterface
    web/modules/contrib/flexible_permissions/src/ChainPermissionCalculator.php:   * @var \Drupal\variationcache\Cache\VariationCacheInterface
    web/modules/contrib/flexible_permissions/src/ChainPermissionCalculator.php:   * @param \Drupal\variationcache\Cache\VariationCacheInterface $cache
    web/modules/contrib/flexible_permissions/src/ChainPermissionCalculator.php:   * @param \Drupal\variationcache\Cache\VariationCacheInterface $static
    
  • Status changed to Closed: outdated 6 months ago
  • πŸ‡§πŸ‡ͺBelgium kristiaanvandeneynde Antwerp, Belgium
Production build 0.71.5 2024