Account created on 11 August 2015, over 9 years ago
#

Recent comments

πŸ‡©πŸ‡ͺGermany gooddev

qick fix is to add --no-open to startup script of storybook

e.g. yarn storybook --no-open

πŸ‡©πŸ‡ͺGermany gooddev

@markwittens that is exactly what i do, but inside by external typescript application.

fileUploadHeaders.append( 'Content-Disposition',`file; filename="${encodeURIComponent(fileData.file.name)}"`);

I tested it with your example filename, and it works like a charm :)

Maybe you should concider rename it directly in the file webform field by using tokens?

πŸ‡©πŸ‡ͺGermany gooddev

and for people who do not know, creating a patch from a MR is simple, just add the suffix ".patch" to the actual MR.

so this here is the patch: https://git.drupalcode.org/project/webform_rest/-/merge_requests/20.patch

πŸ‡©πŸ‡ͺGermany gooddev

Thank you @markwittens for the hard work. It almost worked as expected for me with Drupal 10.3.1

Only think i like to change is that file will be renamed instead of replaced, as replace of file seems not to work.

So i changed following method from:

$result = $this->fileUploadHandler->handleFileUpload(
      $uploadedFile,
      $validators,
      $destination,
      throw: FALSE
    );

to:

$result = $this->fileUploadHandler->handleFileUpload(
      $uploadedFile,
      $validators,
      $destination,
      FileExists::Rename,
      FALSE
    );

Hope its fine that i created MR from your patch.

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

πŸ‡©πŸ‡ͺGermany gooddev

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

πŸ‡©πŸ‡ͺGermany gooddev

If someone find it useful: One simple approach could be to write your custom twig function and call that inside of the SDC component. e.g. for breakpoint or similar.

{% set breakpoints = get_breakpoints() %}

πŸ‡©πŸ‡ͺGermany gooddev

any news here? i am also missing the comparising to SDC. what are the differences? documentation are almost the same. help appriciated.

πŸ‡©πŸ‡ͺGermany gooddev

For me patch #4 was working, without the need to apply any additional patch from ticket https://www.drupal.org/project/decoupled_router/issues/3111456 πŸ› Unable to resolve path on node in other language than default Needs work

I also was trying to apply patch#17 and #6 in combination with patch #64 from issue 3111456, but there was no way of bringing this to work with both entity types (node and commerce_product).

Atm it seems like #4 solved the problems.

thanks!

πŸ‡©πŸ‡ͺGermany gooddev

according to Line 669 of modules/contrib/commerce/modules/order/src/Entity/Order.php there is probably missing a Store to that order. Maybe you have delete the store in the past, but order or cart was created when store was still exisiting?

Line 669 of modules/contrib/commerce/modules/order/src/Entity/Order.php:

    $timezone = $this->getStore()->getTimezone();
πŸ‡©πŸ‡ͺGermany gooddev

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

Production build 0.71.5 2024