Closed (fixed)
Project:
Webform REST
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Dec 2017 at 08:48 UTC
Updated:
19 Dec 2017 at 11:13 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mqannehComment #3
mqannehSince we are not concerned about cacheability metadata here, I updated the patch to return ResourceResponse instead of ModifiedResourceResponse.
Comment #4
mqannehComment #5
imclean commented#3 This is intentional. Other actions, such as sending an email, requires cache metadata to be added. I'm not sure what this would be which is why it returns a
ModifiedResourceResponse.See: #2899161: Submitting a Webform which has an email handler results in a 500 error
Comment #6
mqanneh@imclean
ok. so I'll rewrite my patch to use ModifiedResourceResponse but we still need this patch to validate that we have a valid webform id. the module only checks that it's not an empty value for the webform id which is not enough.
what do you think?
check patch #2
Comment #7
mqannehComment #8
imclean commentedLooks good, thank you.
Comment #10
imclean commentedComment #11
mqanneh