Vancouver
Account created on 5 July 2007, about 17 years ago
#

Merge Requests

More

Recent comments

🇨🇦Canada joelpittet Vancouver

This is great, just ran into this exact problem and the array_filter() was how I was going to solve it too. I committed the @smustgrave suggested changes, though haven't changed the main solution nor the tests which is around the array_filter().

This is reviewed and ready. 🚀

🇨🇦Canada joelpittet Vancouver

Created a follow-up issue for the reports after the initial commit 🐛 Error: Cannot use string offset as an array in MailSystemModules.php on line 36 Needs review

🇨🇦Canada joelpittet Vancouver

This fixes the error but again I echo Berdir in that this migration might be better to manually do.

🇨🇦Canada joelpittet Vancouver

I am not sure I have a good solution for this. My guess is to skip it when there is no key.
Here's the xdebug session

🇨🇦Canada joelpittet Vancouver

I ran into this as well. Ended up cherry picking the migrations I wanted to run instead of running them all.

Also for fun I just stubbed out the missing action plugin to my custom Migration module. This will work because all it cares about is that the plugin id exists.

drush gen plugin:action --answer=MY_CUSTOM_MODULE --answer=auto_entitylabel_entity_update_action --answer=auto_entitylabel_entity_update_action
🇨🇦Canada joelpittet Vancouver

The input field is empty when this error is happening, Major if not critical so bumping the Priority.

🇨🇦Canada joelpittet Vancouver

Not sure where the tests should go, my guess would be \Drupal\Tests\dblog\Functional\DbLogTest anybody confirm?

I am ok writing the test, though if someone wants to take a crack at it I am happy to leave it to someone else.

🇨🇦Canada joelpittet Vancouver

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

🇨🇦Canada joelpittet Vancouver

The patch in #11 seems to be just the MR in patch form

🇨🇦Canada joelpittet Vancouver

I am just going to RTBC this as it's a fatal and up the priority

🇨🇦Canada joelpittet Vancouver

Thank you @WalkingDexter that does the trick.

🇨🇦Canada joelpittet Vancouver

Thanks for keeping this up-to-date, I would agree with you that the CSS stuff needs to be moved to a separate fix if it's needed.
Issue summary could explain this better

🇨🇦Canada joelpittet Vancouver

joelpittet changed the visibility of the branch 3443616-off-by-a to hidden.

🇨🇦Canada joelpittet Vancouver

Sorry to hear that is happening, I wonder if it's some timezone issue. Can you provide details on reproducing it?

🇨🇦Canada joelpittet Vancouver

Made a release beta2 with that change in. Sorry for the delay. This is a duplicate of 🐛 Creation of dynamic properties is deprecated Fixed

🇨🇦Canada joelpittet Vancouver

Thanks I did a partial commit of most of the changes but not the permissions change on the route or many of the unused variable removals.

🇨🇦Canada joelpittet Vancouver

@DD 85 it looks like you are missing an email from that error, so might be a different issue. We are using MR 14

🇨🇦Canada joelpittet Vancouver

This has been a while, I am going to close as fixed and remove MR 22 patch from my sites. If someone chimes in with it still happening we can re-open. Just triaging ;)

🇨🇦Canada joelpittet Vancouver

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

🇨🇦Canada joelpittet Vancouver

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

🇨🇦Canada joelpittet Vancouver

It looks like it might be the first stable release. I believe we are close for D10 as well.

🇨🇦Canada joelpittet Vancouver

I don't plan on doing this...

🇨🇦Canada joelpittet Vancouver

Generally I don't fix these kinds of issues because they are disruptive to the issue queue existing patches. But there are no issues to conflict with so I commited them. Thank you both for the clean-up.

🇨🇦Canada joelpittet Vancouver

I've committed the schema file to the dev branch. Thanks for bringing this to my attention!

🇨🇦Canada joelpittet Vancouver

Thanks for adding a test to prove the problem exists and fixing my typo!

🇨🇦Canada joelpittet Vancouver

Thank you both, this issue is indeed major as it is a WSOD for content editors. I have reviewed the patches and tested it out and it works well.

🇨🇦Canada joelpittet Vancouver

@ELC, I share your frustration and have personally disabled emails from the update module in favor of using composer audit to catch more serious security issues. However, I believe this discussion belongs upstream in either the Drupal core queue or the Drupal.org infrastructure queue.

I have had many discussions with them regarding this frustrating scenario (on Slack). It’s technically a security issue since we (maintainers) are no longer supporting that branch. This means a security issue could arise, and we are indicating that we will not address it on that minor release branch. Additionally, this problem is historical as we never used to have semantic versions, which compounds the issue, as do our branch naming conventions and how Drupal.org creates releases.

Alternatively, we could keep it open on this project as you’re suggesting, but this would be like playing whack-a-mole. Other maintainers might do this accidentally or on purpose, and you would end up chasing them around the queue. That’s why I recommend taking this problem upstream.

🇨🇦Canada joelpittet Vancouver

Thanks for the support @irinaz. The release is out. I will create a follow-up for the next release

🇨🇦Canada joelpittet Vancouver

This is a quick fix that should go in soon as possible on a deprecated annotation service

🇨🇦Canada joelpittet Vancouver

Yes this has had a deprecation notice for some time. Time to let it go!

🇨🇦Canada joelpittet Vancouver

I am going to cut a stable release next.

🇨🇦Canada joelpittet Vancouver

This is a bit stale just closing for now

🇨🇦Canada joelpittet Vancouver

Thanks for fixing this @cboyden. I have committed it to the dev branch

🇨🇦Canada joelpittet Vancouver

Thanks for this, I have committed it to latest dev branch

🇨🇦Canada joelpittet Vancouver

Getting a bit closer...

I have it set to PHP 7.4 which did help.

MAX PHP: https://git.drupalcode.org/project/feeds/-/jobs/1864063
Not MAX PHP: https://git.drupalcode.org/project/feeds/-/jobs/1864177
PHP 7.4 explicit: https://git.drupalcode.org/project/feeds/-/jobs/1864327

I will likely disable some tests if they are from third party integrations failing:

  1. Organic groups integration 0 passes, 4 fails, and 3 exceptions
  2. Rules integration 0 passes, 4 fails, and 7 exceptions

I might also create a new release for OG to help here too...

🇨🇦Canada joelpittet Vancouver

Changed the template comments to the current template and read the docs on the test dependencies:
https://project.pages.drupalcode.org/gitlab_templates/info/drupal7/#depe...

This is the first one of these I am doing, so we'll see how it goes...

🇨🇦Canada joelpittet Vancouver

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

🇨🇦Canada joelpittet Vancouver

Thanks @ramil g, I have committed this for the next release.

🇨🇦Canada joelpittet Vancouver

I agree with @jwilson3 in #66. This should be default to always use the aspect ratio. That said, if there is no value set for this setting (on existing sites) it should remain off as mentioned in #67.

It's unfortunate that the default settings are always merged, this is why we can't have nice things *whines*.

It seems like this should be set the default for new installs and maybe we need an update hook to set it to FALSE for existing sites? Would that work?

🇨🇦Canada joelpittet Vancouver

@smustgrave Thanks for taking a look. I believe this is correct in this case but thanks for checking. This case I know the user-input is the source of the problem which is in the issue summary. FYI it looks like this ?tags[0][0] to help read the URL encoding above.

This problem is discrete but part of a bigger set of attack vectors in the parent.

If you could point to a place where I can add a test case, that would really help me out. Otherwise I will take a horrible guess...

🇨🇦Canada joelpittet Vancouver

I'm cherry-picking pieces of this attack but one part (for me at least) was this 🐛 TypeError: Illegal offset type in isset or empty in FormValidator->performRequiredValidation() Needs review which I made a follow-up from this for

🇨🇦Canada joelpittet Vancouver

@timwood This latest solution seems to check all the boxes. I check if there is a base_path and strip it out only when the destination URL is starts with a starting / (which might be always), then the full URL built has a base_path included (can't seem to get around this without manually building it)

🇨🇦Canada joelpittet Vancouver

Adding another related issue #2418219: Deprecate destination URLs that don't include the base path as I dig into this further. Specifically #2418219-22: Deprecate destination URLs that don't include the base path from @claudiu.cristea

Or better keep the current behavior: if the destination starts with a slash, it has the base path prefix. No slash, it's the internal path or alias.

🇨🇦Canada joelpittet Vancouver

@Grevil I tried to do that one yesterday too but 2 problems:

  1. Drush 13 (unlucky) wasn't installing on my Drupal 11 local environment
  2. Looking at the new annotations for the class in core we are overriding I assume it's not going to be as easy as enabling it compatibility (but I need to just try it...), I saw some CRs that gave me pause though
🇨🇦Canada joelpittet Vancouver

Thanks @iler for jumping back to grant the extra access and for being a part of the community for the time you have.

🇨🇦Canada joelpittet Vancouver

By fits and spurts... I will close this but if you have any other RTBC's that I missed that you have been using for years (especially a bug fix) I can add you as a co-maintainer to keep things moving.

🇨🇦Canada joelpittet Vancouver

Closing this as outdated because the event subscriber was removed and replaced in 🐛 Suppress display of regular system menu blocks in Layout Builder RTBC

🇨🇦Canada joelpittet Vancouver

Missed this but yes this will require a 9.x only version as 8.x will not be compatible with this change

🇨🇦Canada joelpittet Vancouver

Thanks I have merged this in to the 2.x branch

🇨🇦Canada joelpittet Vancouver

There are big changes to plugin discovery and other things so we'll need to test this out before deciding if 1.x or 2.x is the right place for this.

🇨🇦Canada joelpittet Vancouver

Ran out of time to test and commit this so moving to the next release plan

🇨🇦Canada joelpittet Vancouver

Ran out of time to test and commit this so moving to the next release

🇨🇦Canada joelpittet Vancouver

I committed a few of the planned and RTBC'd issues. I will close this as the release happens and move to the 1.12 the remaining

🇨🇦Canada joelpittet Vancouver

Thank you @dougreen for applying my feedback. I have committed this for the next release.

🇨🇦Canada joelpittet Vancouver

Thank you and I appreciate the tests on this as well. I have committed this for an upcoming release of 1.11

🇨🇦Canada joelpittet Vancouver

Thanks all for your patience, I have committed this to the dev release for inclusion in the upcoming release.

🇨🇦Canada joelpittet Vancouver

Closing this as it was released a while ago.

🇨🇦Canada joelpittet Vancouver

There is not enough info and I don't know what twig tweak is intended to do, so best just try to do it and describe your experience (success or failure)

🇨🇦Canada joelpittet Vancouver

Going to close this as works as designed as per comment #2

🇨🇦Canada joelpittet Vancouver

I tried to reproduce the error you reported and could not on a stock drupal 10.2 site with the standard install profile, logged in and logged out with the user menu placed in the content area.

If you can provide more details to reproduce we can look at re-opening this issue.

🇨🇦Canada joelpittet Vancouver

This doesn't sound like critical, and it is hard to tell if it's a bug or a feature or a support request. I will leave it as a bug request for now and hopefully someone confirm the steps to reproduce

🇨🇦Canada joelpittet Vancouver

@jeroendegloire Before squashing this bug I wonder what got it into this case in the first place. Is it possible to put a breakpoint where this is and see what is happening with the pluginid in this case? Maybe this error is highlighting a bigger data problem in your site that should be addressed.

🇨🇦Canada joelpittet Vancouver

Merging the MR was proving challenging, made a small change and merged it manually. I manually tested it and works with layout builder and block layout and simplifies the code.

Also I reverted the code in 🐛 Duplicate menu blocks appear in Layout Builder choose block form Fixed as it does double the work as it was doing hook_plugin_filter_TYPE__CONSUMER_alter

🇨🇦Canada joelpittet Vancouver

I appreciate the intent behind this fix but the problem with coding standard fixes is that they disrupt the fixes in the queue for actual bugs and features and forces them to be re-rolled (unnecessarily).

I would recommend these fixes be fixed when the lines, themselves, are being fixed in active issues, or the very least the same files.

Production build 0.69.0 2024