qick fix is to add --no-open to startup script of storybook
e.g. yarn storybook --no-open
@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?
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
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.
gooddev β made their first commit to this issueβs fork.
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() %}
gooddev β created an issue.
gooddev β created an issue.
any news here? i am also missing the comparising to SDC. what are the differences? documentation are almost the same. help appriciated.
dev.tim β created an issue.
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!
dev.tim β created an issue.
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();
dev.tim β made their first commit to this issueβs fork.