Fix the following bugs:

  • The array needs to merge inside the loop
  • Warning by PhpStorm
    Variable '$cloud_context' is introduced as a method parameter and overridden here.
  • Sorting incorrect
CommentFileSizeAuthor
#12 3170146-12.patch1.17 KBmasami
#2 3170146.patch4.88 KBmasami

Comments

Masami created an issue. See original summary.

masami’s picture

Status: Active » Needs review
StatusFileSize
new4.88 KB
yas’s picture

@masami

Thank you for fixing the issue. It looks good to me.

@baldwinlouie, @xiaohua-guan, @masatotakada

Could you please review the patch?

MasatoTakada’s picture

@yas @masami

It looks good to me.

Masato

baldwinlouie’s picture

@yas and @masami

Thank you for the patch. It looks good to me.

baldwinlouie’s picture

Status: Needs review » Reviewed & tested by the community
xiaohua guan’s picture

@yas

It looks good to me. Thanks.

yas’s picture

@masatotakada, @baldwinlouie, @xiaohua-guan

I'll merge the patch to 8.x-2.x and 3.x and close this issue as Fixed.

  • yas committed 2d50257 on 8.x-2.x authored by Masami
    Issue #3170146 by Masami, baldwinlouie, yas, MasatoTakada, Xiaohua Guan...

  • yas committed 5be9ea0 on 3.x authored by Masami
    Issue #3170146 by Masami, baldwinlouie, yas, MasatoTakada, Xiaohua Guan...
yas’s picture

Version: 3.0.0-alpha1 » 3.x-dev
Status: Reviewed & tested by the community » Fixed
masami’s picture

Status: Fixed » Needs review
StatusFileSize
new1.17 KB

@yas
There is a following error, so I re-open this issue.
Please review the hotfix patch.

 Notice: Trying to access array offset on value of type null in Drupal\k8s\Plugin\Block\K8sNamespaceCostsBlock::Drupal\k8s\Plugin\Block\{closure}() (line 288 of /var/www/html/cloud/web/modules/contrib/cloud/modules/cloud_service_providers/k8s/src/Plugin/Block/K8sNamespaceCostsBlock.php) 
yas’s picture

Status: Needs review » Reviewed & tested by the community

@masami

Thank you for fixing the issue. I'll merge the patch to 8.x-2.x and 3.x and close this issue as Fixed.

  • yas committed bf3c812 on 8.x-2.x authored by Masami
    Issue #3170146 by Masami, yas, baldwinlouie, MasatoTakada, Xiaohua Guan...

  • yas committed 20cd707 on 3.x authored by Masami
    Issue #3170146 by Masami, yas, baldwinlouie, MasatoTakada, Xiaohua Guan...
yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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