Munich
Account created on 11 January 2018, over 7 years ago
#

Merge Requests

More

Recent comments

🇩🇪Germany mrshowerman Munich

Created an MR which adds a permission to bypass the access check.

🇩🇪Germany mrshowerman Munich

There was a similar issue in Gin when editing paragraphs: 🐛 Paragraphs stick out from the edge Active
It is caused by CKEditor items in table cells that don't have an explicit width.

I created an MR that applies flexbox to the table rows and calculates the optimal width for the cells possibly containing the CKEditors.

🇩🇪Germany mrshowerman Munich

This has been used for a week in production now, and we didn't notice any issues.
So RTBC+1 from my side.

🇩🇪Germany mrshowerman Munich

Earlier today, I updated the patch we use in one of our projects to the latest version of the MR.
Looks good at first sight, but I'd like to watch it a bit longer until giving feedback here.

🇩🇪Germany mrshowerman Munich

I simply removed the maxlength attribute from both form fields.
I don't think it makes sense to increase the value to something random that might still be to small in some cases. There is no technical reason to limit the length.

🇩🇪Germany mrshowerman Munich

The organization part is now reset before we pass the address to the formatter.

🇩🇪Germany mrshowerman Munich

mrshowerman changed the visibility of the branch 3521673-address-links-remove to hidden.

🇩🇪Germany mrshowerman Munich

Nonsense. Issues shold always be targeted against the most current branch and cherry-picked to previous ones if necessary.

🇩🇪Germany mrshowerman Munich

I'll take a look at this.

Not sure if this is a bug or a feature request, thus assigning to the 2.4.x-dev branch.

🇩🇪Germany mrshowerman Munich

I have the same issue. Patch #2 fixes it. RTBC+1.

🇩🇪Germany mrshowerman Munich

mrshowerman changed the visibility of the branch 3048458-preload-attribute to active.

🇩🇪Germany mrshowerman Munich

You have to tick the checkboxes below "Credit & committing" if you want to give credit 😉

🇩🇪Germany mrshowerman Munich

Not sure which changes you're referring to, but I rebased anyway.

🇩🇪Germany mrshowerman Munich

I've decided to create an MR in this case so we can better track updates to the branch.

There is no update script that enables the new module so far; I leave the decision of whether to add one to the maintainers.

🇩🇪Germany mrshowerman Munich

Attached patch fixes both issues.

🇩🇪Germany mrshowerman Munich

Rebased an addressed the @larowlan's comment.
Test fail seems unrelated.

🇩🇪Germany mrshowerman Munich

I noticed that in the HTML method, there were a few attributes added to the link that aren't valid HTML, like type="mailto". On the other hand, other valid attributes got lost in the pre and post keys that were not processed properly.

Created an MR that fixes both on top of the original patch.

🇩🇪Germany mrshowerman Munich

+1 for this change.

There is a typo in the settings form description (missing comma), and the text could be optimised a little:

If checked, a button to rotate the image will appear next to each image.

🇩🇪Germany mrshowerman Munich

Re #66: I agree that the 2 checkboxes should be moved, but since it concerns not only the new "Plays inline" box which this issue is about, but also the already existing "Muted", I'd vote for creating a separate issue for this to avoid scope creep.

We've been using this patch for a long time in various projects, and from my point of view, it is good to go.

🇩🇪Germany mrshowerman Munich

Did a rebase. Now there's a few phpstan errors again, maybe @mohit_aghera can look into them.

🇩🇪Germany mrshowerman Munich

Thanks a lot for the quick fix 🙏🏻

🇩🇪Germany mrshowerman Munich

Thanks for adding the target branch!
Rebased.

🇩🇪Germany mrshowerman Munich

I rebased the MR.
@swentel, I added an example to the IS.

🇩🇪Germany mrshowerman Munich

This should be targeted against 2.4.x-dev, but that's not yet available in the dropdown.

🇩🇪Germany mrshowerman Munich

Rebased the MR and created a CR draft.
Also updated the deprecation target to 11.2.0 and the removal target to 12.0.0.
Please review.

Not sure if we need a followup for the removal of the deprecated interface.

🇩🇪Germany mrshowerman Munich

Thanks for merging this, @finex!
But shouldn't this issue be fixed then?

🇩🇪Germany mrshowerman Munich

Thanks for the feedback, @anybody. I applied your suggested changes.

🇩🇪Germany mrshowerman Munich

Nice! Thanks for all the work, @mdranove. The new MR fixes my issue.
Having a closer look at the changes, I found a few things that could be improved, and took the liberty of changing them myself.

I'm also attaching a static patch that can be applied against 6.0.6 in case anyone needs it.

This looks good to go for me, thus setting in RTBC.

🇩🇪Germany mrshowerman Munich

MR no longer applies, but it looks like the change from this issue has been included in 🐛 Create revision before changing values, set revision author and time Active , so this might be closed as a duplicate.

🇩🇪Germany mrshowerman Munich

I was able to further reduce duplicate code by moving some parts of the viewElements() method into new trait methods. The slight differences between SvgImageFormatter and SvgResponsiveImageFormatter we noticed in 📌 Formatters shouldn't repeat core code Needs review today were respected, especially the cache tags handling 😉

🇩🇪Germany mrshowerman Munich

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

🇩🇪Germany mrshowerman Munich

Created a new MR that addresses all open issues.
Not sure what the right status should be now 🙈

🇩🇪Germany mrshowerman Munich

Closing this as it was decided to work on this in the original issue.

🇩🇪Germany mrshowerman Munich

@mrshowerman not sure we need to create a new issue for that, just open a new MR here with the fix.

Oops, missed that. I created 🐛 Fatal error when linking SVGs to file Active in the meantime, but I'll be happy to add the fix to this issue if that is preferred.

🇩🇪Germany mrshowerman Munich

Is there an open issue for this already?

Not yet. I had a quick look at this yesterday and was able to reproduce. I also have a fix ready.
Will create a new issue with that fix soon.

🇩🇪Germany mrshowerman Munich

Addressed feedback by @grevil.

🇩🇪Germany mrshowerman Munich

I made a few tests on several of our sites using different versions of Drupal (9.5.11, 10.2.0, 10.2.5, 10.2.7, and 10.3.6). All of them show the same error message when saving an unpublished node that has a URL alias. So I can confirm that 🐛 hook_node_grants implementations lead to a 'URL Alias' validation error when saving translated nodes. Fixed did not fix the issue.

I noticed that there is a second workaround: granting the "view any unpublished content" (provided by the module) also fixes the issue.

Updated the IS accordingly.

🇩🇪Germany mrshowerman Munich

All feedback has been addressed, except for one thing where @mably requests input from @Grevil. Setting back to NR.

🇩🇪Germany mrshowerman Munich

Rebased.
@sagesolutions, you should be able to test this now against 3.x-dev.

🇩🇪Germany mrshowerman Munich

Fixed a bug in the "old" map, showing the wrong number of results and wrong pagination when using the new filter: the attachment view display needs to have the same exposed filters as the parent display.

🇩🇪Germany mrshowerman Munich

@saschaeggi, see my comment on the MR. Leaving status change up to you.

🇩🇪Germany mrshowerman Munich

Applied code suggestions and removed a line of code that I think is unrelated.
Back to review for @saschaeggi.

🇩🇪Germany mrshowerman Munich

The current MR produced a fatal error when using the LinkitFormatter:

ValueError: func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the currently executed function in func_get_arg() (line 24 of modules/contrib/linkit/src/Plugin/Linkit/Substitution/Canonical.php).

That's because the formatter does not pass $options, so I quickly added sanity checks to all occurrences of func_get_arg(1).

Apart from that, I agree with @berdir. I don't understand why we are passing the options to the substitution plugin that creates the URL, and still process the fragment and query parameters afterwards. I also think this processing code has a bug (left a comment on the MR).

🇩🇪Germany mrshowerman Munich

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

🇩🇪Germany mrshowerman Munich

Rebased the MR onto the latest 3.x.
@mirakolous, you should now be able to apply the MR's plain diff to 3.x-dev again.

🇩🇪Germany mrshowerman Munich

Not sure if I get what you mean by that last line, but how can this be by design?

If a site builder checks the option "Exclude textfields from autosubmit", they don't really care about those fields being nested in a fieldset or not. They just want all textfields in the form to not submit the form automatically.

🇩🇪Germany mrshowerman Munich

Has there ever been an issue where we knew when it would get merged in core? 😉
I'd say we should be prepared for this getting in any time, and this module should be ready for it. As outlined in the IS, the patch supports both situations.

🇩🇪Germany mrshowerman Munich

I will check this again after we have updated to 2.3.

🇩🇪Germany mrshowerman Munich

You're totally right. That's a much better solution.

Production build 0.71.5 2024