Oxford, UK
Account created on 10 September 2008, about 16 years ago
#

Merge Requests

Recent comments

🇬🇧United Kingdom grahamC Oxford, UK

We're seeing the same issue. It doesn't actually cause a problem unless PHP has the display_errors option switched on.

Here the problem is caused by having both an Entity Browser field and a core Media Library field on the same form. When trying to remove an item from the media widget, the Entity Browser code is getting confused because the button for core Media Library is also called remove_button

Attaching patch which checks the field name on the triggering element matches the expected one for this widget. This allows both the media library and entity browser to function correctly again here.

🇬🇧United Kingdom grahamC Oxford, UK

@itamair Yes! Tested on the site we originally saw the problem on, and new patch #49 resolves the issue.

🇬🇧United Kingdom grahamC Oxford, UK

To elaborate on the #44 issue - the regression we're seeing in Localgov Drupal after this change is because it no longer falls back to the default Views getValue() if it *is* a SearchApiResultRow but doesn't have a usable corresponding field.

I don't have the why on this part, but on this view the $real_geofield_name comes back with `location` but there's no such field in the result row. (There is a `localgov_location` field, but that returns a simple lat/long rather than a POINT(), so doesn't work here either...)

The attached patch adds the fallback behaviour back in and fixes the issue for me.

🇬🇧United Kingdom grahamC Oxford, UK

Previous patch allowed the views to render again, but breaks as soon as you try to apply a facet...

New patch attached, based on changes for same problem fixed in main Facets project.

🇬🇧United Kingdom grahamC Oxford, UK

I have this issue too on a customer site recently upgraded from 9.5 to 10.2.

In the error 'Cannot read properties of undefined', the undefined is the off-canvas wrapper element ([data-off-canvas-main-canvas])

That element was entirely missing for me... It's supposed to be put in place by a #theme_wrapper (see system_element_info_alter()) but somehow another module's theme_wrapper is preventing the off-canvas one from running...

The offending module for me is Responsive and off-canvas menu - and commenting out the responsive_menu_preprocess_html() function fixes the issue here.

@flefle - do you have this module also?

The code that causes the problem is essentially as below:

hook_preprocess_html(&$vars) {
  $vars['page']['#theme_wrappers'][] = 'responsive_menu_page_wrapper';
}

I can't yet understand what's wrong with adding a theme wrapper like this and why it causes the one from `system` to go missing, though...

🇬🇧United Kingdom grahamC Oxford, UK

As a potential solution, merge request !368 introduces a heuristic that if "Back to site" would land on an "admin" path, it should instead be replaced with a link to the front page.

🇬🇧United Kingdom grahamC Oxford, UK

@webflow

I understand where you're coming from, but considering the current state of the main openid_connect project, ditching 1.x seems a little premature...

openid_connect 2.x (currently "beta") has no Drupal 10 release either, so you're effectively requiring people to upgrade to the alpha-quality 3.x branch to use this module.

I was just about to attach the same patch against 1.4 as #7 but was beaten to it. Works fine from my (limited) testing with just the change to the info.yml file.

🇬🇧United Kingdom grahamC Oxford, UK

One major Drupal 10 issue the automated patch has missed:

The module makes use of Internet Explorer conditional comments to include a particular javascript library. As this functionality has now been removed from Drupal ( change record ) the JS is rendered without comments and runs in modern browsers too, causing weird AJAX errors in unrelated modules.

Updated patch simply removes the problem script, because who needs IE9 support?

Production build 0.71.5 2024