Problem/Motivation
- Fix an error that sometimes occurred regarding the process of updating the list of Entities in OpenStack.
Issue fork cloud-3356744
Show commands
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 #4
Ryo Yamashita commented@yas
Please review it. Thanks.
Comment #5
yas@ryo-yamashita
Thank you for the fix. Can you consider the logic to convert a word to plural as follows? You can introduce a new method into
CloudContentEntityTrait. The simple-saddition will cause a problem in the future.Comment #6
Ryo Yamashita commented@yas
I updated this issue's commit. Thanks.
Comment #7
yas@ryo-yamashita
Thank you for the update. Please fix the following coding standard errors:
Thanks
Comment #8
Ryo Yamashita commented@yas
I fixed the following coding standard errors. Thanks.
Comment #9
yas@ryo-yamashita
Can you please check the test results? → https://www.drupal.org/pift-ci-job/2661227 It looks reproducible.
Thanks
Comment #10
Ryo Yamashita commented@yas
I pushed a patch to fix it so that it would pass the test. Thanks.
Comment #11
yas@ryo-yamashita
Thank you for the update. I posted my comment. Can you please check it? The DrupalCI error looks caused by a bug in the existing code. Thanks.
Comment #12
Ryo Yamashita commented@yas
I pushed a commit to correct the id_prural at the location in OpenStackKeyPair.php. Thanks.
Note: The existing method (
getShortEntityTypeNamePluralCamelByTypeName()) will remove the necessary whitespace. Therefore, a new method (getShortEntityTypeNamePluralCamelByTypeNameWhitespace()) has been added.Comment #13
yas@ryo-yamashita
I posted my suggested refactoring based on the existing code so that we don't have to add the new method
getShortEntityTypeNamePluralCamelByTypeNameWhitespace()w/ the similar logic as the existing one.Thanks
Comment #14
Ryo Yamashita commented@yas
I have pushed the proposed modification, which is based on the existing method with fewer changes. Thanks.
Comment #15
yas@ryo-yamashita
Thank you for the update. I posted my comments. Thanks!
Comment #16
Ryo Yamashita commented@yas
I fixed codes according to coding standards. Thanks.
Comment #17
yas@ryo-yamashita
Thank you for the update. It looks good to me now. I'll merge the patch to
5.xand6.x, and close this issue as Fixed.Comment #18
yasComment #21
yasComment #22
yasComment #24
yasWe found the BDD testing error, so we need the hotfix.
Comment #25
Ryo Yamashita commented@yas
Please review it. Thanks.
Comment #26
yas@ryo-yamashita
Thank you for the update. Can you please fix the coding standard errors?
→ https://www.drupal.org/pift-ci-job/2673980
Thanks
Comment #27
Ryo Yamashita commented@yas
i fixed doc comments for the cording standards. Thanks.
Comment #28
yas@ryo-yamashita
Thank you for the update. I ran the BDD tests and it looks good. I'll merge the patch to
5.xand6.x, and close this issue as Fixed.Comment #31
yas