Berlin
Account created on 1 April 2010, over 14 years ago
#

Merge Requests

More

Recent comments

🇩🇪Germany szeidler Berlin

Wow @marcofernandes. This works pretty good for me and the use-case I described in the issue.

Really nice work and in my opinion works much smoother than editing block content in the sidebar.

🇩🇪Germany szeidler Berlin

Seems to be a duplicate of the other issue.

🇩🇪Germany szeidler Berlin

Thanks for your patience and the contribution.

I just merged it in, so it's available in the current dev version.

🇩🇪Germany szeidler Berlin

Looks good from my perspective.

🇩🇪Germany szeidler Berlin

I created a MR + here's the attached patch. Thanks for a review.

🇩🇪Germany szeidler Berlin

I second @damienmckenna. It looks like a missing dependency. I tested around with the most likely suspects. It turned out setting ckeditor5/internal.admin.image as a dependency seems to fix the error.

🇩🇪Germany szeidler Berlin

Note: That only ensures the D11 compatibility of this module. As long as video_embed_field will not be Drupal 11 compatible it's a bit worthless.

🇩🇪Germany szeidler Berlin

Yes, the platform synchronization is working fine with the patch. I also checked most of the DRD Drush commands, but only that they are throwing no errors/warnings.

🇩🇪Germany szeidler Berlin

It's mainly the prepare() and execute() method and a lot of shared properties + constructor + create. For me it felt wrong to move the constructor and create function into the trait. It would lead to typehint issues.

That's why I splitted up all the common properties and moved them into the trait as well. The class DrdPiCommands uses a reduced set of properties. class DrdCommands declares all properties that are not shared by via the trait.

What do you think?

🇩🇪Germany szeidler Berlin

@goose2000 Could you check out the merge request? It is not checking for the existence of the expected method from the Core patch, rather than firing it and failing if not applied.

🇩🇪Germany szeidler Berlin

Please see the chapter Layout Builder Support on the project page. You will need a patch for Layout Builder support.

What we can look into would be to be more failsafe if Layout Builder is just installed but not used with Block Breakpoint.

🇩🇪Germany szeidler Berlin

szeidler changed the visibility of the branch 2767155-2.x to hidden.

🇩🇪Germany szeidler Berlin

szeidler changed the visibility of the branch 3468393-custom-blocks-missing-2.x to active.

🇩🇪Germany szeidler Berlin

szeidler changed the visibility of the branch 3468393-custom-blocks-missing-2.x to hidden.

🇩🇪Germany szeidler Berlin

I added a MR for it. I'm using the following to determine the version used

if (version_compare(\Drupal::VERSION, '10.2.0', '<')) {

I'm using that one and not the Core's DeprecationHelper, because the DeprecationHelper was also just introduced in Drupal 10.1.

🇩🇪Germany szeidler Berlin

I created a pull request that is now merging the blocks together, if a category of mymodule_b is processed and the same category reference from mymodule_b already exists.

Furthermore – since I have been touching the code anyhow – I renamed the foreach $theme_definition to $definition to be precise, because it's actually the merged together definitions from themes and modules.

🇩🇪Germany szeidler Berlin

Thanks for sharing @freelock. Layout Builder Component Attributes seems really good.

For the ones still relying on block class for this matter, here's a patch for block_class 2.0.12

🇩🇪Germany szeidler Berlin

Thanks for the contributions.

🇩🇪Germany szeidler Berlin

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

🇩🇪Germany szeidler Berlin

In Gutenberg 3 we do not have a style preview in the same fashion, so the problem only exists for Gutenberg 8.x-2.x

🇩🇪Germany szeidler Berlin

Just a note to the initial issue description: it is quite risky to run drush config:import before drush up.

If you deploy changes the best practice order is https://www.drush.org/12.x/deploycommand/ or the corresponding documented individual commands.

🇩🇪Germany szeidler Berlin

8.x-1.x is not supported anymore and will not receive any updates.

🇩🇪Germany szeidler Berlin

@tkiehne This has fixed in 🐛 Undefined variable $sizes in gutenberg_form_node_form_alter() Fixed .

But I have another one as well, if you just updated without saving all node forms again.

 Warning: Trying to access array offset on null in /var/www/html/web/modules/contrib/gutenberg/gutenberg.module on line 

So it's actually better to do the following

$allowed_styles = $config->get($node_type . '_allowed_image_styles') ?? [];

In addition there is the following:

  if (!empty($styles)) {
    foreach ($styles as $style) {
      if ($allowed_styles[$style->getName()]) {
        $sizes[] = [
          'slug' => $style->getName(),
          'name' => $style->label(),
        ];
      }
    }
  }

If the site introduces a new image style after the node form has been saved, this will also lead to a warning.

🇩🇪Germany szeidler Berlin

Hi @avpaderno, 14 days have been passed without a response.

🇩🇪Germany szeidler Berlin

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

🇩🇪Germany szeidler Berlin

Good to have GitlabCI setup, but shouldn't we work on making the tests green?

🇩🇪Germany szeidler Berlin

What's the state of 2.0.x and 3.0.x now? Which version is the more modern one, active development is being made on?

Is it possible and recommended to go from 2.0.x to 3.0.x? Because if 3 is the new 8.x-1.x wouldn't it be like going backwards?

🇩🇪Germany szeidler Berlin

Branch 8.x-1.x will not get Drupal 11 compatible. Use 2.x instead.

🇩🇪Germany szeidler Berlin

szeidler created an issue.

🇩🇪Germany szeidler Berlin

Thanks for the contribution. It got merged in.

🇩🇪Germany szeidler Berlin

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

🇩🇪Germany szeidler Berlin

@xenophyle I updated the MR to log the Mailchimp validation errors with a lower severity (notice).

🇩🇪Germany szeidler Berlin

Any kind of Drupal form spam protection can mitigate the issue, yes. In case for example the captcha catches the one that Mailchimp identifies as Spam.

🇩🇪Germany szeidler Berlin

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

🇩🇪Germany szeidler Berlin

Have you checked what is in the block. Is the content missing, is it a CSS issue?

🇩🇪Germany szeidler Berlin

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

🇩🇪Germany szeidler Berlin

Thanks for the contribution!

🇩🇪Germany szeidler Berlin

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

🇩🇪Germany szeidler Berlin

Thanks for the effort.

I can confirm that using Javascript optional chaining is solving the problem, here.

🇩🇪Germany szeidler Berlin

Drupal 11 is most likely going to be released this week. Could we get some traction to get a D11 compatible release for Monolog?

🇩🇪Germany szeidler Berlin

I fixed PHPCS and inverted the mercury_editor condition, which was the other way around after the PHP 7.4 compatibility change.

I can confirm: Gutenberg is working fine. I tested mercury editor as well and the updated MR brought back the submit button. But maybe one of the Mercury Editor users could give it a try as well.

🇩🇪Germany szeidler Berlin

No, I don't think it should be an option.

This is an error the Mailchimp API returns, that is in my opinion not an error being relevant for the Drupal site and therefore should not be logged as an error. Drupal errors should be possible to resolve from the site owner. But this validation is kind of spam-protection on the Mailchimp-side we cannot influence. A compromise that I can see is that we log the `Invalid Resource` responses with a different severity, for example warning or info.

What do you think?

🇩🇪Germany szeidler Berlin

@rachelf The patch from the beginning of the issue is only an emergency workaround, if your content editors are blocked from publishing articles.

It's not a solution for the underlying issue. A real solution is discussed in the merge request.

🇩🇪Germany szeidler Berlin

I committed the changes. Thanks for your inputs!

🇩🇪Germany szeidler Berlin

Is this a Core responsibility or just a bug in "Language Switcher Extended" module? I'm happily merging a fix for it into the module, if it's handled wrong there.

🇩🇪Germany szeidler Berlin

Could you have a look into 🐛 Save button missing in modal for media library Needs review and see if the MR is fixing the issue? It seems by default with the most recent Gin version the Fotoweb save button is missing and the magic cannot be fired.

🇩🇪Germany szeidler Berlin

I have been running into the same issue and the MR is fixing it. Also technically it seems to do the right thing for identifying a media library modal.

🇩🇪Germany szeidler Berlin

The issue still appears for me in 6.0.6 which is identical to the current 6.0.x-dev.

🇩🇪Germany szeidler Berlin

@saschaeggi The changes in Gutenberg has been merged, so putting this issue to "Needs Work" to adopt the new changes.

🇩🇪Germany szeidler Berlin

@saschaeggi I merged in the changes. Thanks.

Production build 0.71.5 2024