Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] VelaUX does not set the default value of Trait "cpuscaler" #650

Open
StevenLeiZhang opened this issue Dec 13, 2022 · 4 comments · May be fixed by #913
Open

[Bug] VelaUX does not set the default value of Trait "cpuscaler" #650

StevenLeiZhang opened this issue Dec 13, 2022 · 4 comments · May be fixed by #913
Labels
good first issue Good for newcomers kind/bug Something isn't working

Comments

@StevenLeiZhang
Copy link

Describe the bug

VelaUX does not set the default value of Trait "cpuscaler"
To Reproduce

  1. install valaux

  2. create one application

  3. go to the detail page of this application

  4. edit the default Component "webservice"

  5. click button "+ " to. add one new trait

  6. select "cpuscaler"

  7. the Trait Properties are filled by default value

  8. click Create button
    image

  9. check request in Chrome devtool's network tab
    image

  10. the value of "cpuscaler" is not set

Expected behavior

  1. the default value should be set

Screenshots

KubeVela Version

UI Version: v1.6.4-2f68a03

API Version: v1.6.4-git-1a6b724

Additional context

@StevenLeiZhang StevenLeiZhang added the kind/bug Something isn't working label Dec 13, 2022
@StevenLeiZhang
Copy link
Author

if change the default, value can be set correctly.
image

@barnettZQG
Copy link
Collaborator

@StevenLeiZhang The actual rendering result should be correct, right?

@StevenLeiZhang
Copy link
Author

@StevenLeiZhang The actual rendering result should be correct, right?

No, When you click "cpuscaler", the detail page is blank.

image

@barnettZQG barnettZQG added the good first issue Good for newcomers label Mar 3, 2023
@am6737
Copy link
Contributor

am6737 commented Oct 1, 2024

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers kind/bug Something isn't working
Projects
None yet
3 participants