Closed (fixed)
Project:
Cloud
Version:
5.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
26 Oct 2022 at 05:58 UTC
Updated:
15 Nov 2022 at 03:39 UTC
Jump to comment: Most recent
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
yasComment #4
Ryo Yamashita commented@yas
Please review it. Thanks.
Comment #5
yas@ryo-yamashita
Thank you for the patch. I posted my comment. Thanks!
Comment #6
Ryo Yamashita commented@yas
I fixed and pushed the code. Thanks.
Comment #7
yas@ryo-yamashita
Can you please check the following coding standard violation?
Thanks
Comment #8
Ryo Yamashita commented@yas
I have confirmed that warning.
But I couldn't figure out how to replace the part that reads out the Drupal::routeMatch() with DI.
If you know, I would appreciate it if you could let me know. Thanks.
Comment #9
Ryo Yamashita commentedComment #10
yas@ryo-yamashita
use Drupal\Core\Routing\RouteMatchInterface;.$routeMatchmember variable.$route_matchinto the constructor.openstack.services.yml. (By the way, I think we should removeaws_cloud.openstack.operationsfromopenstack.services.yml...?)$container->get('current_route_match')into thecreate()method.$this->routeMatch->getParameter('cloud_context');.HTH
Comment #11
Ryo Yamashita commented@yas
Thank you for your guidance. I will implement it.
Comment #12
Ryo Yamashita commented@yas
I pushed the patch for fixing DI. Thanks.
Comment #13
yas@ryo-yamashita
Thank you for the update. It looks good to me now. I'll merge the patch to
4.xand5.x, and close this issue as Fixed.Comment #14
yas@ryo-yamashita
Can you please rebase the patch? Thanks!
Comment #15
Ryo Yamashita commentedComment #16
yas@ryo-yamashita
Thank you for rebasing the patch. I'll merge the patch to
4.xand5.x, and close this issue as Fixed.Comment #19
yas