Block visibility conditions and Custom attributes combined patch for composer

Created on 18 November 2020, over 4 years ago
Updated 26 July 2023, over 1 year ago

When trying to install the 📌 Custom attributes in panels blocks and variants Fixed and 📌 Block visibility conditions Needs work with Composer, patching fails since they are not compatible. I created a combined patch that should helps those in the interim. Will close the issue though, since this should not be committed.

Feature request
Status

Closed: duplicate

Version

4.0

Component

Code

Created by

🇩🇪Germany NWOM

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇧🇪Belgium bernardopaulino Brussels

    Applying the patch #7 I get the error mentioned in comment #2:

    Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "page_manager.condition_access_resolver". in Drupal\Component\DependencyInjection\Container->get() (line 157 of /var/www/html/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php).
    

    I am currently running D9.5.10, page_manager 8.x-4.0-rc2 and panels 8.x-4.7.

  • 🇧🇪Belgium bernardopaulino Brussels

    UPDATE to my last comment #9: The issue has been introduced when using the following patch for page_manager -> https://www.drupal.org/project/page_manager/issues/2858877#comment-15042342 Allow for block visibility rules Needs work . Before I was using the patch https://www.drupal.org/project/page_manager/issues/2858877#comment-14787260 Allow for block visibility rules Needs work and it worked fine so I will keep that one for now.

  • 🇧🇪Belgium ludo.r Brussels

    The combined patch is now obsolete as 📌 Custom attributes in panels blocks and variants Fixed is now included in module as of version 8.x-4.8.

    Follow-up here for the other issue: 📌 Block visibility conditions Needs work

Production build 0.71.5 2024