Brussels
Account created on 13 April 2012, almost 13 years ago
#

Merge Requests

Recent comments

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

I'm reopening, because I think we can have PHP Warnings with the way it was implemented.

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

I'm also facing this issue and it took me hours to realize that the issue was the auto-discovery + the drush.services.yml.

@andyg5000 your patch #9 is working fine, so why not moving this ticket to RTBC?
Maybe we can speed up and catch more attention from the maintainers if you also open a MR in Gitlab.

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

I tested the MR !9 and it is working fine.

Moving to RTBC.

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

I changed to use a sequence instead of a string and changed the form to show the arguments as read-only, like it is done for the callback.

I agree that there is no point to allow change the parameters, if the callback is not allowed to be changed from the UI.

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

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

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

I have worked in a MR that do not report Simple jobs as behind if the last run was within the configured interval. For example, if a job is configured to run every 15 minutes, it will be reported as behind only if it is more than 15 minutes since the last run.

This will clear the warning in the Status Report page.

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

I have a similar case. I have many jobs configured and the most frequent ones are configured to run every 15 minutes. I have the system cron calling the drush command every 5 minutes, but still in the Status Report page I have, from time to time, jobs being reported as behind schedule. In the list of jobs, as you can see in the attached screenshot, the first job in the list had ran at 10:25 and now is 10:36 and it is already reported as behind schedule:

I think a job should be reported as behind schedule only if the last run is more than 15 minutes ago, if the job is configured to run every 15 minutes. In this case, it has passed 11 minutes and the job is already reported as behind schedule.

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

I tested and it works fine.
Moving to RTBC also according to @carlitus evidences.

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

The solution I found is to consider also the base path when doing the str_replace. This solved the issue for my case.

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

Hi @damienmckenna,

Do you have any estimation for the rollout of this version? If it does not have all the features you have planned for this version, maybe you could release a beta or rc version, so we can upgrade and unblock the upgrade to Drupal 11 of the websites using this module.

Thank you for you good work on this module.

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

In my project, we had a Drupal 10.3 installation pointing to the patch of the MR, but with the rebase of the MR, the MR is not applicable anymore in Drupal 10.3.

So for those looking for a patch that work with Drupal 10.3, I'm attaching one to the issue.

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

Making #153 compatible with Drupal 10.3.

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

lisotton β†’ changed the visibility of the branch 2.x to hidden.

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

lisotton β†’ changed the visibility of the branch 2.0.x to hidden.

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

I applied the #22 and it worked fine with Hook Event Dispatcher.
Moving it to RTBC.

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

lisotton β†’ created an issue.

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

I still don't understand why cannot have a version that is both compatible with Drupal 9 and 10 like most of other modules.

If we would have this, we could upgrade this module first (like I'm doing with other contrib modules) and then in a latest stage, upgrade Drupal 10 (as all contrib modules are already compatible).

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

I created a PR removing the file video_transcode.install.

The function video_transcode_schema had the whole content commented and the function video_transcode_install is empty. So I don't think is necessary to keep this file.

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

I also tested MR 17 and it is working fine.

@_renify with your patch, you are fixing things that is not related to this issue and is fixed in #3348748 πŸ› Missing Entity Query Access Check - D10 Compatibility Error Fixed .

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

There was one more place reported by Upgrade Status where the `accessCheck` was not called.

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

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

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

Hi @jibran,

The ideal scenario would be to have a version that is both compatible with latest version of Drupal 9 and also compatible with Drupal 10.

I'm working in an upgrade of a big site to Drupal 10 and the approach that we are following (and I believe most of the developers that are working in big projects are doing the same) is to upgrade all contrib modules to a version that is compatible with both versions and then when everything is compatible we will upgrade only the Drupal core. Otherwise we will have a huge release with dozens of modules upgraded.

Is there a lot of changes to make one of the versions also compatible with Drupal 9.5?

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

Hi @jcontreras, I see that the new version (2.1.0) will be only compatible with Drupal 10 and the version 2.0.2, you marked as not compatible with Drupal 10. Actually you made a commit before releasing the version removing the compatibility at commit 5e8ebf5e.

I'm working in a big site, migrating it to Drupal 10 and I would like to make all contrib modules compatible with Drupal 10, before upgrading the core itself.

Do you have any plan to release 2.0.3 with compatibility with both Drupal 9 and Drupal 10?

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

I had similar issues in many places where I manipulate retrieve the menu tree.

I have some routes that share the same Controller and Action, but in the route declaration it declares default parameters. For example I have the route mymodule.news_list (/news) which have the controller ListPageController::entryPoint with a default parameter called type with value news-list. Then I have another route called mymodule.articles_list (/articles) which shares the same controller, but the default parameter type with value articles-list.

Before when I was calling \Drupal::service('plugin.manager.menu.link')->loadLinksByRoute('news_list'), without any second second parameter (route params), it was returning me the menu links, but with the change in 9.5.9, I'm enforced to call \Drupal::service('plugin.manager.menu.link')->loadLinksByRoute('news_list', ['type' => 'news-list').

For me this broke many small things, like breadcrumbs, custom menu blocks, etc.

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

I created a MR applying what was suggested by @jensschuppe.

The problem I see is that using the function "is_scalar", it will not enter even when the value is null and before if the value was null, it was using an empty string.

What do you think is the best option?
- Not set the value if is null or array
- Leave the value as empty string if is null and not set the value if is array
- Set the value as empty string if both null or array

πŸ‡§πŸ‡ͺBelgium lisotton Brussels

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

Production build 0.71.5 2024