Italy
Account created on 19 February 2009, over 15 years ago
#

Merge Requests

Recent comments

🇮🇹Italy Bladedu Italy

Although I'm not sure if it's 100% related, since 10.2.x I'm encountering a similar issue with a translatable image field.

After some debugging I found what could be the problem. Basically while the route enhancer is invoking all of them, the query parameter `resourceVersion` that would trigger the `getRelated` method on the jsonapi controller is failing to propagate the active language on the entity.

Would you care trying my patch and see if that resolves your issue as well?

🇮🇹Italy Bladedu Italy

This is something we definitely need, but in the MR there's too much going on.

Would you care re-rolling the MR on top of 1.x and only for the batch part?

The refactoring proposed is also interesting, but I'd move it in a separate issue, if you wouldn't mind.

Thank you!

🇮🇹Italy Bladedu Italy

Upon further check I realized that most of it was already there. What was missing is the mark complete command which I added in the issue fork

🇮🇹Italy Bladedu Italy

I'm afraid this patch won't solve the issue. By changing the class inheritance you're actually shutting down all pre deploy hook functionality as we were relying on the drush provided class for the implementation and the inheritance to use it.

Since Drush >12 we cannot inherit anymore, but we could still use the method by composing it in our class.

🇮🇹Italy Bladedu Italy

We tested the MR 24 and it works perfectly. We noticed, though, that if a dependency file miss Default content simply ignore them, because the method Graph::searchAndSort from core doesn't add them to the array list returned and sorted.

The only trace of them is found in `vertexes`

We'd like to propose a small, but very useful, patch that adds a log warning when some dependencies are missing.

🇮🇹Italy Bladedu Italy

I've tested patch #55 and it works perfectly on a drupal 10.1.x release.

🇮🇹Italy Bladedu Italy

I apologize for the inconvenience. I messed up with tag 1.4 and I couldn't amend it.

I've just releases 1.5 which can be pulled with latest Drupal 10 release.

🇮🇹Italy Bladedu Italy

it should be ok now in 1.4.1. sorry about that.

🇮🇹Italy Bladedu Italy

You are right. I didn't check the patch properly, I'm afraid.

🇮🇹Italy Bladedu Italy

Merged and created release 1.4 which is D10 compatible.

Thank you!

🇮🇹Italy Bladedu Italy

Fixed tests and add one more test to verify that redirect checker returns false when asset path is provided.

🇮🇹Italy Bladedu Italy

I refined a bit your patch (using injected service, but also using a different method for fetching the base path getDirectoryPath()method is defined as abstract method from LocalStream from which all other streams are extended.
basePath, instead, is defined by concrete classes and their implementation of getDirectoryPath calls basePath.

Eventually it's the same, but bit more robust (and usable with s3fs module)

🇮🇹Italy Bladedu Italy

I confirm the issue on Drupal 10.1 and redirect module.
My scenario is simpler: I have css/js aggregation active and a plain drupal installation.

all files under /sites/default/files/css or js gets redirected to itself appending the query parameters to the existing path until NGINX replies with 414 Request-URI Too Large

🇮🇹Italy Bladedu Italy

Rerolled patch #15 to work with 2.16.0

Production build 0.69.0 2024