Account created on 9 January 2009, over 16 years ago
  • Senior Technical Marketing Manager at Acquia 
#

Merge Requests

More

Recent comments

🇺🇸United States kevinfunk

If you are using Gin and Gin Toolbar, you will also want to use the patch from Edit link in breadcrumb region shows even when user has no permission 🐛 Edit link in breadcrumb region shows even when user has no permission Needs review .

🇺🇸United States kevinfunk

I also addressed Remove 8.7.x fallback code for TaxonomyTestTrait since the support for D8 was dropped. Please let me know if you want me to add it back and created a new MR for Remove 8.7.x fallback code for TaxonomyTestTrait .

🇺🇸United States kevinfunk

MR applies and allows me to send Webform results to Mauitc on my D11 test site.

🇺🇸United States kevinfunk

Thank you @wolfhowling for creating the issue. The patch did not apply to 8.x-1.x-dev so I created the MR to address the following:

FILE: web/modules/contrib/tac_lite/src/Form/SchemeForm.php

STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Fix now 37 Call to deprecated function user_roles(). Deprecated in
drupal:10.2.0 and is removed from drupal:11.0.0. Use
Drupal\user\Entity\Role::loadMultiple() and, if necessary,
an inline implementation instead.
--------------------------------------------------------------------------------

FILE: web/modules/contrib/tac_lite/tac_lite.info.yml

STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Check manually 6 Value of core_version_requirement: ^8 || ^9 || ^10 is not
compatible with the next major version of Drupal core. See
https://drupal.org/node/3070687.
--------------------------------------------------------------------------------

FILE: web/modules/contrib/tac_lite/tac_lite_create/tac_lite_create.info.yml

STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Check manually 6 Value of core_version_requirement: ^8 || ^9 || ^10 is not
compatible with the next major version of Drupal core. See
https://drupal.org/node/3070687.
--------------------------------------------------------------------------------

I have also tested this on a Drupal 11 sites with the changes from the MR.

🇺🇸United States kevinfunk

kevinfunk made their first commit to this issue’s fork.

🇺🇸United States kevinfunk

I was able to apply the MR on my Drupal 11 site and recreate the Example Use Case.

🇺🇸United States kevinfunk

Applied MR and was able to install the Entity comparison module and compare two products.

🇺🇸United States kevinfunk

I set the version to >=9 so it should make it easier moving forward. To get around patching api-library to work with D10 or D11 (see https://github.com/mautic/api-library/issues/273), I have set it to allow using the main branch.

🇺🇸United States kevinfunk

With the MR applied on my Drupal 11 site, I was able to change the order of the tabs, set a custom label, add a custom class, and disable a tab.

🇺🇸United States kevinfunk

+1 that the patch from #29 fixes the issue.
I was seeing the issue using the Acquia DAM module and it happened when DAM was selected when the modal was opened.

🇺🇸United States kevinfunk

You can do this by using a token for the title. Set the prev/next labels to [node:title].

🇺🇸United States kevinfunk

@eleonel, I wasn't able to reproduce your issue in #3402694 🐛 Issue with Tags Widget Incorrectly Parsing Augmentor Results Fixed so I'm not sure if this introduces that issue again.

🇺🇸United States kevinfunk

Good call @mandclu. I've update the MR to require Site Studio 7.

🇺🇸United States kevinfunk

Thanks @mglaman.

@nireneko can you update the MR to remove parent: menu.active_trail? I've manually made the change and it worked so once the MR has been updated, I should be able to set it to RTBC.

🇺🇸United States kevinfunk

I've tested with Drupal 10.2.0-rc1 and it does fix the issue. However, on 10.1.7 I'm getting the error

TypeError: Drupal\gin_toolbar\Menu\GinToolbarActiveTrail::__construct(): Argument #1 ($container) must be of type Drupal\Component\DependencyInjection\ContainerInterface, Drupal\Core\Menu\MenuLinkManager given, called in /home/ide/project/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\gin_toolbar\Menu\GinToolbarActiveTrail->__construct() (line 33 of /home/ide/project/docroot/modules/contrib/gin_toolbar/src/Menu/GinToolbarActiveTrail.php).

🇺🇸United States kevinfunk

kevinfunk changed the visibility of the branch 8.x-3.x to hidden.

🇺🇸United States kevinfunk

@djsagar I believe my patch from #7 is a more elegant approach.

🇺🇸United States kevinfunk

It happens when there is an extra long page title.
I've tested with "Proin tempor aliquam orci, pretium egestas justo cursus id. Fusce et massa ac lorem sollicitudin sollicitudin. Duis vel."

🇺🇸United States kevinfunk

Applied diff as a patch using composer patches and it fixes the issue.

🇺🇸United States kevinfunk

Tested the MR with Drupal 10.1.6 and Gin 3.x-dev and it fixes the chrevrons on the collapse sidebar button.

🇺🇸United States kevinfunk

Thank you saschaeggi for working on this. I found this issue today and the MR didn't solve the issue. I've attached a patch and diff of my changes that worked.

To test

  • Install Drupal minimal profile
  • Install Toolbar module
  • Install Gin theme
  • Set Gin as Administration theme
  • Configure Gin to use "New Drupal Navigation, Test integration"
🇺🇸United States kevinfunk

@tdnshah thank you for working on this. Because we are requiring jQuery UI Autocomplete, we will need a Composer file to add the module.

🇺🇸United States kevinfunk

+1. It would be great to have a UI to turn it on/off.

🇺🇸United States kevinfunk

Created a new MR from my comments in #9 📌 Automated Drupal 10 compatibility fixes Fixed .

🇺🇸United States kevinfunk

@Krzysztof Domański, file_create_url() was deprecated in 9.3.x. To use file_url_generator, core_version_requirement needs bumped to core_version_requirement: ^9.3 || ^10. Please see #10 📌 Automated Drupal 10 compatibility fixes RTBC .

🇺🇸United States kevinfunk
-  $variables['logo'] = file_url_transform_relative(file_create_url(theme_get_setting('logo.url')));
+  $variables['logo'] = \Drupal::service('file_url_generator')->generateString(theme_get_setting('logo.url'));

file_url_transform_relative() was deprecated in 9.3.x. To use file_url_generator, core_version_requirement needs bumped to core_version_requirement: ^9.3 || ^10

🇺🇸United States kevinfunk

@jonathan1055 I am using Drush 11.6.0.
The example for function hook_config_import_steps_alter does not show a type hint for $context. I think it has to do with it being a batch. I also found an issue for Queue UI where they had an issue with the type hint #3313894 .

🇺🇸United States kevinfunk

Is 8.x-1.x-dev still supported? I can confirm that this is not an issue with Drupal 10.0.1 and Entity Clone 2.0.0-beta4.

🇺🇸United States kevinfunk

Removes the extra return after the use statement.

🇺🇸United States kevinfunk

@andy_w, thanks for providing a possible solution.
When testing I got the error Error: Class "Markup" not found in admin_toolbar_page_attachments() (line 99 of /var/www/html/docroot/modules/contrib/admin_toolbar/admin_toolbar.module). Adding use Drupal\Core\Render\Markup; allowed me to test your solution. It does work and I'm happy to use it until a better solution is provided. I can create an updated patch if you don't get to it before me :)

🇺🇸United States kevinfunk

Turning off CSS Aggregation doesn't fix the issue for me. I also see the issue using Claro with Admin Toolbar using Drupal 10.1.

🇺🇸United States kevinfunk

kevinfunk made their first commit to this issue’s fork.

🇺🇸United States kevinfunk

Patch should fix issues with all entities that are not fieldable.

🇺🇸United States kevinfunk

I'm getting an error when trying to edit a Webform.
Error: Call to undefined method Drupal\webform\Entity\Webform::getFieldDefinitions() in sitestudio_gin_form_alter() (line 114 of /sitestudio_gin/sitestudio_gin.module).

🇺🇸United States kevinfunk

@justcaldwell, thanks for the review!

🇺🇸United States kevinfunk

Should the delete button be updated?

.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link.button.button--danger {
  color: var(--gin-color-danger) !important;
  border-color: var(--gin-color-danger) !important;
}

.ui-dialog-off-canvas #drupal-off-canvas .moderation-sidebar-link.button.button--danger:hover {
  color: var(--gin-color-button-text) !important;
  background: var(--gin-color-danger) !important;
}
🇺🇸United States kevinfunk

@pavlosdan can you test with Component content?

I can replicate the issue trying to create Component content using Drupal 10.0.9, Gin 3.0-rc3, Site Studio 7.1.1, and Site Studio Gin 1.0.0.

🇺🇸United States kevinfunk

@aziza_a, thank you for your patch! It works great with Drupal 10.0.9.

🇺🇸United States kevinfunk

@darvanen, sorry, I didn't check to make sure the js files were updated when I ran my tests. Everything should be good now.

🇺🇸United States kevinfunk

I've tested the updated MR and it solves the issue.
@darvanen that works too. Thanks for the teamwork @akshaydalvi212!

🇺🇸United States kevinfunk

@dharmendart the patch was for 8.x-1.x-dev. 8.x-1.x-dev was updated so you do not need to apply the patch when using 8.x-1.x-dev.

🇺🇸United States kevinfunk

Made a few fixes from the patch.

🇺🇸United States kevinfunk

kevinfunk made their first commit to this issue’s fork.

Production build 0.71.5 2024