Closed (fixed)
Project:
Cloud
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
24 Jan 2020 at 08:22 UTC
Updated:
23 Feb 2020 at 05:54 UTC
Jump to comment: Most recent, Most recent file
| Comment | File | Size | Author |
|---|---|---|---|
| #32 | 3108485-32.patch | 274 bytes | xiaohua guan |
| #24 | 3108485-24.patch | 79.36 KB | xiaohua guan |
Comments
Comment #2
xiaohua guan commentedComment #3
xiaohua guan commented@yas
Please review the patch file. Thanks.
Comment #4
yas@xiaohua-guan
Thank you for providing the patch. I tried to apply it, but it got behind due to previous merge? Could you please re-create the patch again?
Comment #5
xiaohua guan commentedComment #6
xiaohua guan commented@yas
I created a new patch file. Please review it. Thanks.
Comment #7
yas@xiaohua-guan
Thank you for the update. One more thing, could you please sort out the namespace by alphabetical order? Please refer to the patch at #3107638
Comment #8
xiaohua guan commentedComment #9
xiaohua guan commented@yas
I reordered import codes. Please review the new patch file. Thanks.
Comment #10
yas@xiaohua-guan
Thank you for the update.
I tested the patch again manually, and I received the following Internal Server Error when I access to AWS Cloud settings:
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "gapps.google_spreadsheet". in Drupal\Component\DependencyInjection\Container->get() (line 153 of /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php).It happens when
Google Applicationmodule is not enabled. The above error might not happen becauseAWS Cloud,K8s to S3andS3 to K8s module requiresGoogle Applicationmodule, but could you please take care of the dependency just in case?Comment #11
xiaohua guan commentedComment #12
xiaohua guan commented@yas
Please review the patch file. Thanks.
Comment #13
xiaohua guan commentedComment #14
yas@xiaohua-guan
Thank you for the update. I found the following:
Failed to create spreadsheet due to the Exception with error "file "private://gapps/.gapps/client_secret.json" does not existThe private directory (sites/default/files/private) has full permissions (777).module_exists?G Suite,G Apps,GApps,Google Apps,Google Application,Google Applications,GApps? We should respect the third-party's product name or trademarks. What do you think?Comment #15
yasComment #16
xiaohua guan commentedComment #17
xiaohua guan commented@yas
Thanks for your comment.
About 3, I added a field set.
About 1, I think it should configure credentials in gapps admin page.
About 2, I've added module_exists to check gapps. If gapps doesn't exist, I disabled the checkbox.
About 4, The gapps is good to me. It would be better to change upper case to GApps.
Comment #18
xiaohua guan commentedComment #19
yas@xiaohua-guan
Thank you for the update. I tested it, and found the following:
Could you please double-check the ones?
Comment #20
xiaohua guan commentedComment #21
xiaohua guan commented@yas
I am sorry for the mistakes. I fixed them.
About "After input '{"aaa": "bbb"}' and save it, the google credential is empty", it's the spec as same as before. At that time, due to the security, the credential wasn't shown in the page.
Comment #22
yasComment #23
yas@xiaohua-guan
Thank you for the update. I tried to test the patch:
GApps Settingsmenu inAdmin|Configuration. I also try to accesshttp://example.com/admin/config/services/cloud/gapps/settingsbut it showedPage not found. I cleared the caches or rebuilt menus. Could you please double-check? The previous patch worked.Instance Types Prices Spreadsheetoption is disabled while the Google Application module is disabled, this is good (thanks), however I think it is better to havecheck-offstate. If enabled, the option should be enabled withcheck-onstate.Comment #24
xiaohua guan commentedComment #25
xiaohua guan commented@yas
I changed DOMAIN to example.com, and added description below.
Please review the patch file. Thanks.
Comment #26
yas@xiaohua-guan
Thank you for the update. I tested it and looks good to me now. I'll merge the patch to
8.x-1.xand8.x-2.xand close this issue asFixed.Comment #29
yasComment #30
yasComment #31
xiaohua guan commentedComment #32
xiaohua guan commentedComment #33
xiaohua guan commented@yas
I fixed the bug in the composer.json. Please review the patch file. Thanks.
Comment #34
xiaohua guan commentedComment #35
yas@xiaohua-guan
Thank you for fixing the issue. I'll merge the patch to
8.x-1.xand8.x-2.xand close this issue asFixed.Comment #38
yas