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

Fix import modal errors coming because of multiple wild card #361

Merged
merged 2 commits into from
Sep 5, 2023

Conversation

Yashsharma1911
Copy link
Contributor

@Yashsharma1911 Yashsharma1911 commented Sep 5, 2023

Description

This PR fixes #

Issue

Import modal is crashing with error

Invalid "root" object field configuration: uiSchema order list contains more than one wildcard item.

Notes for Reviewers

"*" is what we call it wild card, as per documentation this is right approach to use, so for now I'm fixing it with removing wild card and will investigate if that issue still comes in after updating RJSF

Signed commits

  • Yes, I signed my commits.

Signed-off-by: yash sharma <yashsharma2572@gmail.com>
Comment on lines -37 to +46
"deployment",
"observability",
"resiliency",
"scaling",
"security",
"traffic-management",
"troubleshooting",
"workloads"
"Deployment",
"Observability",
"Resiliency",
"Scaling",
"Security",
"Traffic-management",
"Troubleshooting",
"Workloads"
],
"default": "deployment",
"default": "Deployment",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is not related to issue but there is an issue coming when we publish catalog we send type as deployment( for example) but when we fetch we get Deployment with D as uppercase and which causes issues of value is not showing in type field in info modal because Deplyoment does not match with any options

@Yashsharma1911
Copy link
Contributor Author

These changes fix the issue

Screenshot 2023-09-05 at 9 35 09 PM

Fixed

Screenshot 2023-09-05 at 9 34 58 PM

@Yashsharma1911
Copy link
Contributor Author

Merging this PR

@Yashsharma1911 Yashsharma1911 merged commit 48d49ad into meshery:master Sep 5, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant