Skip to content

UI: decode userdata in EditVM dialog#7796

Merged
DaanHoogland merged 1 commit intoapache:4.18from
weizhouapache:4.18-fix-editvm-userdata
Aug 1, 2023
Merged

UI: decode userdata in EditVM dialog#7796
DaanHoogland merged 1 commit intoapache:4.18from
weizhouapache:4.18-fix-editvm-userdata

Conversation

@weizhouapache
Copy link
Copy Markdown
Member

Description

With PR #7749, we are able to update userdata with some characters (e.g. Chinese).
2023-08-01_02-39

when edit the vm again, the userdata is not displayed correctly
2023-08-01_02-39_1

with this PR, it works well
2023-08-01_02-40

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

@weizhouapache weizhouapache added this to the 4.18.1.0 milestone Aug 1, 2023
@weizhouapache
Copy link
Copy Markdown
Member Author

@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

@weizhouapache a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@harikrishna-patnala
Copy link
Copy Markdown
Member

@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

@harikrishna-patnala a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/7796 (QA-JID-132)

Copy link
Copy Markdown
Member

@harikrishna-patnala harikrishna-patnala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Checked the usual userdata listing to see if there is an issue too, but no its working fine.
image

@codecov
Copy link
Copy Markdown

codecov bot commented Aug 1, 2023

Codecov Report

Merging #7796 (028aed4) into 4.18 (60ab494) will increase coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               4.18    #7796   +/-   ##
=========================================
  Coverage     13.02%   13.02%           
- Complexity     9030     9031    +1     
=========================================
  Files          2720     2720           
  Lines        257010   257010           
  Branches      40083    40083           
=========================================
+ Hits          33463    33472    +9     
+ Misses       219346   219336   -10     
- Partials       4201     4202    +1     

see 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Copy Markdown
Contributor

@shwstppr shwstppr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM

Copy link
Copy Markdown
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works with:
image

clgtm

@DaanHoogland DaanHoogland merged commit 87f218c into apache:4.18 Aug 1, 2023
@DaanHoogland DaanHoogland deleted the 4.18-fix-editvm-userdata branch August 1, 2023 07:10
DaanHoogland added a commit that referenced this pull request Aug 3, 2023
* 4.18:
  UI: allow new keys for VM details (#7793)
  Refactoring StorPool's smoke tests (#7392)
  UI: decode userdata in EditVM dialog (#7796)
  packaging: unalias cp before package upgrade (#7722)
  make NoopDbUpgrade do a systemvm template check (#7564)
  UI unit test: fix expected values (#7792)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants