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

[#1391] fix(UI): Fix update metalake error in the web UI #1400

Conversation

jerryshao
Copy link
Contributor

What changes were proposed in this pull request?

Fix update metalake error in the web UI.

The reason for the error is that the existing metalake is not set with properties, causing an error unable to find properties when deconstructing the properties of metalake.

The solution is to set an empty object to the properties.

  1. existed metalake without properties
no-props
  1. click update metalake icon button, and now the update pop-up will display correctly.
update-metalake

Why are the changes needed?

Fix: #1391
Fix: #1397

Does this PR introduce any user-facing change?

N/A

How was this patch tested?

N/A

### What changes were proposed in this pull request?

Fix update metalake error in the web UI.

The reason for the error is that the existing metalake is not set with
`properties`, causing an error unable to find properties when
deconstructing the `properties` of metalake.

The solution is to set an empty object to the `properties`.

1. existed metalake without `properties`
<img width="389" alt="no-props"
src="https://github.com/datastrato/gravitino/assets/17310559/42478741-3163-49c8-8ac5-54116abcc035">

2. click `update metalake` icon button, and now the update pop-up will
display correctly.
<img width="596" alt="update-metalake"
src="https://github.com/datastrato/gravitino/assets/17310559/7fc99516-abb9-4412-a032-326765357023">



### Why are the changes needed?

Fix: #1391
Fix: #1397

### Does this PR introduce _any_ user-facing change?

N/A

### How was this patch tested?

N/A
@jerryshao jerryshao added cherry-pick need backport Issues that need to backport to another branch labels Jan 9, 2024
Copy link

github-actions bot commented Jan 9, 2024

Code Coverage Report

Overall Project 66% 🟢

There is no coverage information present for the Files changed

@jerryshao
Copy link
Contributor Author

@qqqttt123 please help to merge it.

@yuqi1129 yuqi1129 merged commit 5ae3302 into branch-0.3 Jan 9, 2024
4 checks passed
@qqqttt123 qqqttt123 deleted the cherry-pick-branch-0.3-a0732b84ddbb2cd8337d4dee33ede1dfcceb8eaf branch January 9, 2024 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick need backport Issues that need to backport to another branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants