Closed (fixed)
Project:
Cloud
Version:
5.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
21 Jun 2022 at 15:42 UTC
Updated:
12 Jul 2022 at 18: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
sekinet commented@yas
Could you please review the patch?
Thanks
Comment #4
ryo yamashita commented@sekinet
Thank you for pushing the patch. However, I would like to confirm a few things.
That is all I have to say about reading the code. Thanks.
Comment #5
sekinet commented@ryo-yamashita
Thank you for your comments.
-> It is necessary in order to display the link.
Without this implementation, links would be displayed as strings like
<a href ...without this implementation.-> The reason is to get the index of the record. We need to specify the index in the revoke link.
-> Yes, it is the same.
In the OpenStackSecurityGroupRevokeForm before the port, it was a getRequest.
Since OpenStackOperationsService does not have that method, we are adding RequestStack.
Thanks
Comment #6
ryo yamashita commented@sekinet
Thank you for your answers.
This part can be expressed without dangerouslySetInnerHTML().
A modified example is shown in git diff format.
Note
Within a .tsx format file, return allows JSX to be returned as the return value. In other words, it is used to generate "a" tags.
In addition, the sample code above determines whether or not the "a" tag is a string that you want to use, based on whether or not it is in JSON format.
Comment #7
sekinet commentedComment #8
sekinet commented@ryo-yamashita
Thank you for your suggestion. I have fixed it so that
dangerouslySetInnerHTML()is not used. Could you please check it?Thanks
Comment #9
ryo yamashita commented@sekinet
I see no problem with the fix. Thank you for your patch.
Comment #10
yas@ryo-yamashita
Thank you for your review.
@sekinet
Thank you for the update. I posted my comment. Thanks
Comment #11
sekinet commented@yas
Thank you for the review. I have fixed the issue as you suggested.
Also, I found that
OpenStackOperationsService::validateOpenStackRevoke()andOpenStackOperationsService::validateRestRevoke()were duplicated in their processing, so I have integrated them intoOpenStackOperationsService::validatRevoke().Could you please check it?
Thanks
Comment #12
yas@sekinet
Thank you for the update. It looks good to me.
@ryo-yamashita
What do you think?
Thanks
Comment #13
ryo yamashita commented@yas @sekinet
It looks good to me, too. Thanks.
Comment #14
yas@ryo-yamashita
Thank you for your review.
@sekinet
Could you please rebase the patch? Then I'll merge the patch. Thanks!
Comment #15
sekinet commented@yas
I have rebased the patch. Thanks!
Comment #16
yas@ryo-yamashita
Thank you for your review.
@sekinet
I'll merge the patch to
4.xand5.x, and close this issue as Fixed.Comment #19
yas@ryo-yamashita
Thank you for your review.
@sekinet
I'll merge the patch to
4.xand5.x, and close this issue as Fixed.Comment #20
yasComment #21
yas