Account created on 23 December 2007, over 16 years ago
#

Merge Requests

Recent comments

🇧🇪Belgium rp7

Original patch only applied to StringFilter. I expanded it so it also applies to NumericFilter.

This might be a valid reason to leave the option in FilterPluginBase (since it's being questioned in #4).
Upgrade path + test coverage is still TODO.

🇧🇪Belgium rp7

As I already mentioned by others, perhaps we should idd look into separating the 2 features.
Skipping unpublished content could use/benefit from the solution being worked on in Allow entities to be skipped programmatically Needs review .

🇧🇪Belgium rp7

Patch attached adds a SkipEntity-event (similar to the already present BuildHeader event) that allows entities to be skipped from link checker.

🇧🇪Belgium rp7

Patch attached is how a possible implementation could look like.

🇧🇪Belgium rp7

Experiencing the same issue on a project of ours. Running on 10.2.6. Patch fixes it, but I agree with #3 that this isn't really a long term solution.

🇧🇪Belgium rp7

Here's how the implementation could look like.

🇧🇪Belgium rp7

I was looking for a way to use feature flags within Drupal and stumbled upon this issue. I'm a bit surprised seeing modules being proposed, but I'm probably missing something obvious.

If we want the on/off state of feature flags to be deploy-able (I'm still trying to grasp exactly why - especially looking at tools like LaunchDarkly - in which feature flags are meant to be evaluated during runtime), why is a module preferred over just a true/false configuration setting? What benefit does it give us?

🇧🇪Belgium rp7

FWIW, the approach External Entities is taking (external entity types as config) was inspired by https://www.drupal.org/project/eck and (IMO) is certainly something that should be kept.

But I'm pretty sure @joachim is not asking to remove that part - rather support both scenario's (through config or through code).

🇧🇪Belgium rp7

@jsacksick
Might be a good idea to consider!
(not entirely sure how that would play with cacheability & invalidation, something to research)

🇧🇪Belgium rp7

The variations can be re-saved in the background (through a queue). So that removes the performance bottleneck.

🇧🇪Belgium rp7

The node_revision_delete module has no concept of content moderation which could potentially make it dangerous for moderated sites where forward revisions could be drafts and an historical revision could be your current published revision (see in getCandidatesNodes in node_revision_delete).

Could it be that you are talking about the first version of the node_revision_delete module? Because the 2.x version certainly is content moderation aware.

I can't find a getCandidatesNodes() method in the 2.x version of the module, so you are probably talking about the first version?

🇧🇪Belgium rp7

Updating tests. Expecting them to succeed now.

🇧🇪Belgium rp7

Made a few proposed changes + tried to get the tests green.
A test for an actual asset generation path should still be added, though.

🇧🇪Belgium rp7

Fixed deprecation notice: Deprecated function: Creation of dynamic property Drupal\\vbo_export\\Plugin\\Action\\VboExportDoc::$renderer is deprecated in Drupal\\vbo_export\\Plugin\\Action\\VboExportDoc->__construct().

🇧🇪Belgium rp7

Just as I created this ticket, it looks like this error is introduced by another patch we are using. Sorry for the noise. Closing this one.

🇧🇪Belgium rp7

@joseph.olstad

There's no hook_cron() implementation because NRD 2.x does it processing through a queue worker. Queue workers are executed via Drupal's core cron & don't need a specific hook_cron() implementation.

I have no experience with Ultimate Cron myself, but going by the project description it has ways of configuring when queues are to be run. You'll have to look for the "node_revision_delete" queue.

🇧🇪Belgium rp7

A small improvement in that the field label is nog also mentioned in the error message, which makes it easier for the user to know which field is causing the error message. As mentioned before, the error reporting is still very much barebones and I expect the work done in #1327632: Support action specific status message reporting. could help us here.

🇧🇪Belgium rp7

Expanded the patch to limit validation errors to only the ones that the user is able to edit, consistent with content entity forms (https://git.drupalcode.org/project/drupal/-/blob/11.x/core/lib/Drupal/Core/Entity/ContentEntityForm.php?ref_type=heads#L212)

🇧🇪Belgium rp7

Patch in #32 works fine, but uses a deprecated method that is removed in D10. Adjusted the patch.

🇧🇪Belgium rp7

I can confirm that increasing the query timeout resolves the error.

Additionally, I think this cron-logic needs to be expanded to first see if the suggest request handler is enabled. You can disable it through the UI, but doing so will result in 404 Solr endpoint errors in the logs (when this cron is run).

🇧🇪Belgium rp7

And still noticed some issues. Next attempt. Sorry for the noise.

🇧🇪Belgium rp7

In re-roll of #11 I forgot to take into account that the primary key is re-added in a new update hook. Adjusting patch accordingly.

🇧🇪Belgium rp7

Looks like this ticket is a duplicate of 🐛 Use core/internal.backbone lib Needs work .
Since that issue is older, has a patch that's verified by users - I'm closing this one.

🇧🇪Belgium rp7

Tested the module with version 2.2.1 and the patch works fine. Thanks!

🇧🇪Belgium rp7

I found some more usages of deprecated (and in D10 removed) code.

🇧🇪Belgium rp7

Works fine on my end? (current version of the 2.x branch)

$ patch -p1 < elastic_apm-drupal_10_compatibility-3391080-2.patch
patching file composer.json
patching file elastic_apm.info.yml

Are you using the 2.x version to apply this to?

🇧🇪Belgium rp7

Tiny update to the patch - the sub-module now has the same core_version_requirement as the main module, effectively making the patch compatible with D10.

🇧🇪Belgium rp7

Tiny update to the patch. The entity usage block module now has the same core_version_requirement entry as the main entity_usage module.

Will try to make some time available in the near future to make this a separate contrib module.

🇧🇪Belgium rp7

Updated patch in #5:

  • No longer using the JavaScript states API, logic is now in /js/frontUi.js (as per comment in #6).
  • As already mentioned in #3, we could save a lot more vertical space by hiding the selection info if nothing is selected.
🇧🇪Belgium rp7

Committed + linked to 📌 Compatibility with CKEDITOR5 Active from the project page.

🇧🇪Belgium rp7

I suppose we can already apply this (D10 compatibility) and add a "soft" dependency on https://www.drupal.org/project/ckeditor .

🇧🇪Belgium rp7

Is this issue still present? Which Drupal version are you using? I'm afraid the module is incorrectly advertising compatibility with Drupal 8.

🇧🇪Belgium rp7

I'm a bit at a loss here, can I get some more info?

Starting with the beta3 release of this module, the ContentModerationInfoBlockForm's constructor contains a call to parent::__construct and its parameters are wrong, causing a fatal error.

This is the call to the parent constructor: https://git.drupalcode.org/project/content_moderation_info_block/-/blob/...
This is the parent constructor: https://git.drupalcode.org/project/drupal/-/blob/9.5.x/core/lib/Drupal/C...
Looks completely OK to me?

Additionally, there are calls throughout the the form's class to ::setEntity and ::setOperation, which do not exist.

But they do exist on one of the parent classes?
::setEntity : https://git.drupalcode.org/project/drupal/-/blob/9.5.x/core/lib/Drupal/C...
::setOperation : https://git.drupalcode.org/project/drupal/-/blob/9.5.x/core/lib/Drupal/C...

I'm not sure how this issue has not been previously uncovered, I do not see how this could have ever worked.

Which Drupal version are you using - is it Drupal 8? Perhaps this module is not compatible with Drupal 8 anymore.

🇧🇪Belgium rp7

Adjusted the patch so that the "Drag to reorder"-field description (added in 🐛 Drag to re-order doesn't work without autocomplete Fixed ) is only displayed when re-ordering is not disabled.

🇧🇪Belgium rp7

Re-rolling patch against 4.2.x + an attempt to implement the proposal in #14.

🇧🇪Belgium rp7

Small addition to the patch in #94: if one of the endpoints are empty, don't attempt auto login.

Changed

foreach ($client->getEndpoints() as $endpoint) {
  if ($endpoint === NULL) {
    return FALSE;
  }
}

to

foreach ($client->getEndpoints() as $endpoint) {
  if (empty($endpoint)) {
    return FALSE;
  }
}
🇧🇪Belgium rp7

Updated patch so that the select options are now sorted alphabetically (similar to the feature request in Sort target type select options alphabetically Needs review ).

Production build 0.69.0 2024