Comments

Xiaohua Guan created an issue. See original summary.

xiaohua guan’s picture

Issue summary: View changes
xiaohua guan’s picture

Status: Active » Needs review
StatusFileSize
new826 bytes

@yas

Please review the patch file. Thanks.

xiaohua guan’s picture

StatusFileSize
new861 bytes

@yas

I fixed an error. Please check the new patch file. Thanks.

xiaohua guan’s picture

StatusFileSize
new986 bytes

@yas

I am sorry for the bug. I've fixed it. Please check the latest patch file. Thanks.

yas’s picture

Status: Needs review » Needs work
StatusFileSize
new72.14 KB

@xiaohua-guan

Thank you for the refactoring. I tested and it looks good to me but could you please address the following?

  1. +++ b/cloud.module
    @@ -359,3 +359,27 @@ function cloud_update_views_configuration($view_name, array $options) {
    +  if (!empty($variables['menu_name']) && $variables['menu_name'] == 'main') {
    

    The operator == should be ===.

  2. Could you please refactor Design menu as well?
    55.png
xiaohua guan’s picture

StatusFileSize
new987 bytes
xiaohua guan’s picture

Status: Needs work » Needs review

@yas

I've fixed them. Please review the new patch file. Thanks.

Status: Needs review » Needs work

The last submitted patch, 7: 3181189-7.patch, failed testing. View results

xiaohua guan’s picture

StatusFileSize
new1.13 KB
xiaohua guan’s picture

Status: Needs work » Needs review
yas’s picture

@xiaohua-guan

Thank you for fixing the issue. I test the patch and it looks good to me. One more thing, as I mentioned in my comment #6, could you please include the logic for the Design menu if possible, too? It is okay to create another issue for that, though.

xiaohua guan’s picture

@yas

Thanks for your review.

> Could you please include the logic for the Design menu if possible, too?

I think I've already included the logic for design menu.

yas’s picture

Status: Needs review » Reviewed & tested by the community

@xiaohua-guan

I double-checked the Design menu and it works correctly. I'll merge the patch to 8.x-1.x, 8.x-2.x and 3.x and close this issue as Fixed.

  • yas committed 549fa06 on 8.x-1.x authored by Xiaohua Guan
    Issue #3181189 by Xiaohua Guan, yas: Fix a cloud service provider menu...

  • yas committed 0d52a21 on 8.x-2.x authored by Xiaohua Guan
    Issue #3181189 by Xiaohua Guan, yas: Fix a cloud service provider menu...

  • yas committed a0a5d3d on 3.x authored by Xiaohua Guan
    Issue #3181189 by Xiaohua Guan, yas: Fix a cloud service provider menu...
yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.