πŸ‡«πŸ‡·France @Guillaume Aveline

Account created on 14 October 2011, about 13 years ago
#

Recent comments

πŸ‡«πŸ‡·France Guillaume Aveline

I had the same issue on my website.
Found out that using DependencySerializationTrait solves the issue.

πŸ‡«πŸ‡·France Guillaume Aveline

We had the same issue on one of our website.
The issue is the variable in system.performance is deprecated, and was deleted by D9 -> D10 migration.

    stale_file_threshold:
      type: integer
      label: 'Stale file threshold'
      deprecated: 'The system.performance.stale_file_threshold config key is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. See https://www.drupal.org/node/3301744'

During the cron, AdvAgg tries to delete files modified after this value.
Since it's now empty, it means 0, so files are deleted immediatly.

In the cache, file is still mark as active, drupal tries to load it, but it results in a "404 - not found"

We managed to solve this issue by re submiting AdvAgg settings form which sets back the stale_file_threshold value.

I thins a better approch would be to patch the module with the patch present in this issue: https://www.drupal.org/project/advagg/issues/3410820 πŸ› 'stale_file_threshold' is not a supported key RTBC

Regards !

πŸ‡«πŸ‡·France Guillaume Aveline

I had the same issue.
After taking a look at `EntityViewController::buildTitle()`, I saw at the end:

        // Prevent output of the label field in the main content.
        $page[$label_field]['#access'] = FALSE;

So I made this hook

function MY_MODULE_preprocess_node(&$variables) {
  $variables['content']['title']['#access'] = true;
}

And it seams to do the job, at least for me.
I Hope I'm not breaking something, :)

πŸ‡«πŸ‡·France Guillaume Aveline

La vague illuminee β†’ changed the visibility of the branch 3286024-automated-drupal-10 to active.

πŸ‡«πŸ‡·France Guillaume Aveline

La vague illuminee β†’ changed the visibility of the branch 3286024-automated-drupal-10 to hidden.

πŸ‡«πŸ‡·France Guillaume Aveline

I had to patch it for 3.x branch, here's the patch.

πŸ‡«πŸ‡·France Guillaume Aveline

Opened a MR in which I applied the patch and created the composer.json.
If you want to use it before it's merged, update your composer.json to add the repo

    "repositories": [
        {
            "type": "vcs",
            "url": "https://git.drupalcode.org/issue/image_radios-3287981"
        },
        {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        }
    ],

And require the module with this branch :

composer require drupal/image_radios:dev-3287981-automated-drupal-10
πŸ‡«πŸ‡·France Guillaume Aveline

La vague illuminee β†’ made their first commit to this issue’s fork.

πŸ‡«πŸ‡·France Guillaume Aveline

I commented, in the following file `ui_patterns_views.module` lines 53 to 56

//  if ($view->preview && !isset($view->element['#embed'])) {
//    \Drupal::messenger()->addWarning(t('Pattern Views row plugin does not support preview.'));
//    $variables['pattern'] = ['#type' => 'status_messages'];
//  }
  /*else*/

And it seams to work.
But I'd like to know why you disables preview for patterns ? For perf? Other reason ?

Regards.

πŸ‡«πŸ‡·France Guillaume Aveline

I added tests for this issue, but the function public static function processFields(array $element) is not tested.

And I don't know how to create test for it.

πŸ‡«πŸ‡·France Guillaume Aveline

Patch edit : add 'isModeratedEntity()' function in moderation handler

πŸ‡«πŸ‡·France Guillaume Aveline

Here's my attempt of porting the patch for 8.x-1.4.
Works on Drupal 9.5

Hope that helps somebody.

πŸ‡«πŸ‡·France Guillaume Aveline

Sorry for the multiple push. I squashed my commits into one.

Their was an issue with a deprecated function call "system_sort_modules_by_info_name" (see https://www.drupal.org/node/3225999 β†’ ) fixed in the branch.

πŸ‡«πŸ‡·France Guillaume Aveline

Guillaume Aveline β†’ made their first commit to this issue’s fork.

πŸ‡«πŸ‡·France Guillaume Aveline

Guillaume Aveline β†’ made their first commit to this issue’s fork.

Production build 0.71.5 2024