Portland, OR
Account created on 23 November 2007, about 17 years ago
  • Senior Software Architect at Phase2 
#

Merge Requests

More

Recent comments

🇺🇸United States jhedstrom Portland, OR

Thanks all! I'll cut a new release shortly.

🇺🇸United States jhedstrom Portland, OR

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

🇺🇸United States jhedstrom Portland, OR

For folks wanting this with the TFA module , this entry gets it working:

/**
 * Implements hook_gin_login_route_definitions_alter().
 */
function MY_MODULE_gin_login_route_definitions_alter(array &$route_definitions):void {
  $route_definitions['tfa.entry'] = [
    'page' => 'page__tfa',
    'template' => 'page--user--general',
    'preprocess functions' => ['gin_login_preprocess_ginlogin'],
  ];
}
🇺🇸United States jhedstrom Portland, OR

This patch fixes the fatal error, which is great, but it has downstream PHP warning/notice issues as the underlying responsive image code expects certain metadata (width, height) to always be set.

Warning: Undefined array key "width" in template_preprocess_responsive_image() (line 209 of core/modules/responsive_image/responsive_image.module).
template_preprocess_responsive_image(Array, 'responsive_image', Array)
🇺🇸United States jhedstrom Portland, OR

Thanks! I've added you as a maintainer.

🇺🇸United States jhedstrom Portland, OR

Adding a patch as well for use with composer.

🇺🇸United States jhedstrom Portland, OR

Other core field types don't appear to have a category anymore, so simply removing this resolves the assertion error.

Attaching a patch for use with composer.

🇺🇸United States jhedstrom Portland, OR

The official PHP Docker images also have this issue (sqlite v3.40.1) and don't even offer the latest Ubuntu LTS at this time as an option...

🇺🇸United States jhedstrom Portland, OR

The MR needs the latest 8.x-1.x merged in as there is a conflict.

🇺🇸United States jhedstrom Portland, OR

Hi @bluegeek9! I've added you as a maintainer. Thanks for helping out!

🇺🇸United States jhedstrom Portland, OR

Note that the sub-request approach also breaks the canonical url meta tag (which gets set to the parent node, not the sub page).

🇺🇸United States jhedstrom Portland, OR

I've released 1.4 that contains this update.

🇺🇸United States jhedstrom Portland, OR

This MR updates the README as well.

🇺🇸United States jhedstrom Portland, OR

I updated the project page with a note about this issue. Thanks all for digging in and figuring this out!

🇺🇸United States jhedstrom Portland, OR

Note that this issue causes redirects to <front> not to work. Disabling the redirect_support option allows them to work again.

🇺🇸United States jhedstrom Portland, OR
+++ b/src/AutoEntityLabelManager.php
@@ -199,11 +199,14 @@ public function hasOptionalAutoLabel() {
+    return $not_applied && ($required || $optional) && !$title_preserved && !$entity_id;

This change makes it such that entity labels are not updated, they only trigger on new content...

🇺🇸United States jhedstrom Portland, OR

This is an attempt at refactoring, it gets the custom title working, but probably has many other ramifications for projects that rely on the sub-request approach. This also works with the aforementioned easy breadcrumb issue. I didn't commit this to the issue fork, as it's more of a PoC for now.

🇺🇸United States jhedstrom Portland, OR

Processing these as a sub request has additional ramifications around breadcrumbs. For instance, the Easy Breadcrumb module tries to match the path as the canonical one, not the sub path, making the pages have the same breadcrumb as the parent node.

🇺🇸United States jhedstrom Portland, OR

#2 also resolves this with Gin and Layout Builder. I'm bumping to Major is it makes LB un-usable. A test may be tricky since this seems to only be surfaced by Contrib modules...

🇺🇸United States jhedstrom Portland, OR

Moving to NR and adding a patch for use with composer.

🇺🇸United States jhedstrom Portland, OR

Thanks all! I'll cut a new release shortly.

🇺🇸United States jhedstrom Portland, OR

Since this is critical, do we want to commit the current fix (all tests are passing) and deal with the fallout/ideal fix in a follow-up?

🇺🇸United States jhedstrom Portland, OR

Patch for composer. There's a branch in gitlab, but I'm not seeing the button to open a MR.

🇺🇸United States jhedstrom Portland, OR

Thanks all!

🇺🇸United States jhedstrom Portland, OR

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

🇺🇸United States jhedstrom Portland, OR

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

🇺🇸United States jhedstrom Portland, OR

Thanks!

🇺🇸United States jhedstrom Portland, OR

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

🇺🇸United States jhedstrom Portland, OR

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

🇺🇸United States jhedstrom Portland, OR

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

🇺🇸United States jhedstrom Portland, OR

Thanks!

🇺🇸United States jhedstrom Portland, OR

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

🇺🇸United States jhedstrom Portland, OR

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

🇺🇸United States jhedstrom Portland, OR

Thanks!

🇺🇸United States jhedstrom Portland, OR

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

🇺🇸United States jhedstrom Portland, OR

jhedstrom created an issue.

🇺🇸United States jhedstrom Portland, OR

It wasn't, but in order to commit, the failing unit test needs to be updated to pass with this change.

🇺🇸United States jhedstrom Portland, OR
🇺🇸United States jhedstrom Portland, OR

jhedstrom created an issue.

🇺🇸United States jhedstrom Portland, OR

jhedstrom created an issue.

🇺🇸United States jhedstrom Portland, OR

jhedstrom created an issue.

🇺🇸United States jhedstrom Portland, OR

There should be a test to demonstrate this issue/fix.

🇺🇸United States jhedstrom Portland, OR

These have been taken care of in other issues I think.

🇺🇸United States jhedstrom Portland, OR

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

🇺🇸United States jhedstrom Portland, OR

jhedstrom created an issue.

Production build 0.71.5 2024