πŸ‡ΊπŸ‡ΈUnited States @jwineichen

Account created on 7 March 2012, about 13 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States jwineichen

#132 is working for me on 10.4.3. Was getting a WSOD on pages with larger views with images results, facets, and having admin toolbar extras installed. Pages load successfully now, without having to limit views result size.

πŸ‡ΊπŸ‡ΈUnited States jwineichen

Patch #3 also worked for me. I was importing a CSV with 1900 lines. Without the patch, the completion message said it created a little under 300 records and then updated 1600 or something, even though I added sid and uuid columns so they should have all been recognized as unique. With the patch, the the upload completed successfully and I've got 1900 submissions now.

πŸ‡ΊπŸ‡ΈUnited States jwineichen

I will also say that the patch in https://www.drupal.org/project/webform/issues/3414928#comment-15463956 πŸ› Webform submission import: failed to import a lot of records executed in multiple batches Active solved the "expected value, only 1 found" issue in my uploading.

πŸ‡ΊπŸ‡ΈUnited States jwineichen

Do you have a captcha on your form? That's what was giving me the "math question" message (the default captcha is a simple math problem). I had to remove it to upload submissions and the then put it back on.

πŸ‡ΊπŸ‡ΈUnited States jwineichen

I'm having some difficulty getting the streamlined file_url filter to work with image_style correctly. Not sure if it's a bug in the code or user error.

When I use this:
{{ node.field_media_image[0].entity.field_media_image.entity.uri.value|image_style('thumbnail') }}
...it correctly generates this:
/sites/www.mydomain.org/files/styles/thumbnail/public/2025-01/image.jpg

But when I use this:
{{ node.field_media_image|file_url|image_style('thumbnail') }}
...it adds an extra /sites/www.mydomain.org/files into the middle of the url:
/sites/www.mydomain.org/files/styles/thumbnail/public/sites/www.mydomain.org/fi...

πŸ‡ΊπŸ‡ΈUnited States jwineichen

Oh that makes sense. I searched the Feeds queue and the Feeds Tamper queue, but forgot the Tamper queue.

πŸ‡ΊπŸ‡ΈUnited States jwineichen

Commit tested, both on the generic example listed above and a separate webform-based model. Both successfully set the validation error on the entire form without a field name listed.

πŸ‡ΊπŸ‡ΈUnited States jwineichen

#8 worked for me as well

πŸ‡ΊπŸ‡ΈUnited States jwineichen

While this is still getting a stable release, I've been using Twig Tweak which allows for some of the basic functionality by writing twig code into a custom text field in the view. There's documentation here: https://www.drupal.org/docs/contributed-modules/twig-tweak-2x/twig-tweak... β†’ . However, there is a bug in 10.3 that I was able to get around by escaping the argument following this comment: https://www.drupal.org/project/twig_tweak/issues/3457069#comment-15692762 πŸ› drupal_view breaks in 10.3 Active .

πŸ‡ΊπŸ‡ΈUnited States jwineichen

This also works in Drupal 10. Thanks from 9 years in the future.

πŸ‡ΊπŸ‡ΈUnited States jwineichen

I've attempted to put this change into a patch. First time but I've tried to follow the patching documentation, so I think it's correct. It seems to be working on my local.

Production build 0.71.5 2024