Uh oh!
There was an error while loading. Please reload this page.
UI: Standardize OwnershipSelection to use logic independent of language - #10052
Conversation
BryanMLima
commented
Dec 5, 2024
blueorangutan
commented
Dec 5, 2024
@BryanMLima a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@## 4.20 #10052 +/- ##
=========================================
Coverage 16.03% 16.03% Complexity 12814 12814 =========================================
Files 5637 5637 Lines 493506 493507 +1 Branches 59831 59831 =========================================
+ Hits 79129 79130 +1 + Misses 405601 405600 -1 - Partials 8776 8777 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
blueorangutan
commented
Dec 5, 2024
UI build: ✔️ |
bernardodemarco
left a comment
There was a problem hiding this comment.
LGTM, tested in the QA environment
blueorangutan
commented
Dec 6, 2024
Packaging result [SF]: ✔️ el8 ✔️ el9 ✖️ debian ✔️ suse15. SL-JID 11736 |
DaanHoogland
commented
Dec 7, 2024
@BryanMLima this works in Dutch, so far for the good news. Now I have my doubts about the implementation. As the account type is a logic element of the system I would expect it to be the symbol 'Account' or the symbol 'Project' and not the english or other language words. I would expect the |
e854022 to
7e062eaCompareBryanMLima
commented
Dec 9, 2024
@DaanHoogland, I agree with you, we should not use translation of a label to the logic of the code. I made some changes to the components that are using the With these changes, I tested the creating VMs, Isolated networks, L2 networks, shared FS and volumes; all resources were created accordingly to the owner specified. |
BryanMLima
commented
Dec 9, 2024
blueorangutan
commented
Dec 9, 2024
@BryanMLima a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
blueorangutan
commented
Dec 9, 2024
UI build: ✔️ |
Description
This PR addresses an issue when trying to assign an instance to another account/project when using ACS in another language besides English. To accomplish this fix, the
OwnershipSelectioncomponent was standardized to use logic independent of the language used by the user.Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
How Has This Been Tested?
Before this patch, the message
The new account is the same as the old account.was shown when trying to assign the VM to another account/project.With this patch, assigning an instance works as intended in different languages, as expected.
I also test the creation of VMs, Isolated networks, L2 networks, shared FS and volumes; all resources were created accordingly to the owner specified.