Closed (fixed)
Project:
Cloud
Version:
3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Aug 2020 at 09:37 UTC
Updated:
27 Aug 2020 at 00:09 UTC
Jump to comment: Most recent, Most recent file
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 3163202-7.patch | 2.57 KB | xiaohua guan |
Comments
Comment #2
xiaohua guan commentedComment #3
xiaohua guan commentedComment #4
xiaohua guan commented@yas
Please review the patch file. Thanks.
Comment #5
yas@xiaohua-guan
Thank you for fixing the issue.
Since this method can be used more commonly, Should we move this method to
CloudConfigPluginManager::isValidCloudContext($cloud_context, $bundle)orCloudConfig::isValidCloudContext($cloud_context, $bundle)?Comment #6
xiaohua guan commented@yas
Thanks for your comment.
I found the function in CloudConfig. How about to make some change and reuse it?
Comment #7
xiaohua guan commentedComment #8
xiaohua guan commented@yas
Please review the patch file. Thanks.
Comment #9
yas@xiaohua-guan
Thank you for the update.
It looks good but let me confirm if it is okay with always
TRUEat the following caller code?https://git.drupalcode.org/project/cloud/-/blob/3.x/src/Form/CloudConfig...
Comment #10
xiaohua guan commented@yas
I've confirmed the code. It should be OK because the "exists" function is used as below.
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Render%21...
Comment #11
yas@xiaohua-guan
Thank you for updating the patch and the information. I'll merge the patch to
8.x-2.xand3.xand close this issue asFixed.Comment #14
yasComment #15
yasI'll merge to
8.x-1.x, too for the patch at #3163932Comment #17
yasClosing this issue marked as
Fixed.