Closed (fixed)
Project:
Cloud
Version:
6.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
8 Feb 2024 at 22:42 UTC
Updated:
5 Mar 2024 at 05:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
baldwinlouie commented@yas, this patch does the following
1. Removes jQuery from
aws_cloud_form.js.2. Change from Select2 library to TomSelect.
3. Removes Select2 from

cloud.libraries.yml4. Renames
aws_cloud_image_import.csstoaws_cloud_tom_select.cssbecause the CSS can be used in Launch Template and AWS Image import form5. Fixes a bug in
AWSConstraintValidator.php. The$entity->getName()throws an exception if this code is called when creating a new AWS Launch Template. This validator gets called when the AJAX on the AWS Launch Template form tries to refresh.6. Slight refactoring of
AWSConstraintValidator.phpComment #4
baldwinlouie commentedComment #5
baldwinlouie commentedComment #6
yasComment #7
yas@baldwinlouie
Thank you for the fix. I ran the BDD tests and the tests have been passed successfully. So I'll merge the patch to
5.xand6.x, and close this issue as Fixed.Comment #9
yas@baldwinlouie
We have the error while merging the patch to the 5.x-dev branch:
So can you please create the MR for the branch 5,x-dev? Thanks
Comment #12
baldwinlouie commented@yas, I created two new MRs.
1. https://git.drupalcode.org/project/cloud/-/merge_requests/2230#note_268665 - This one is the merge into the
branch. I need to clean up
aws_cloud.libraries.ymland remove thecore/jqueryandcloud/select2dependency fromaws_cloud_formComment #15
yas