Skip to content

[INLONG-8462][Manager] Fix attribute was overwritten by the default value error when modifying the group#8466

Merged
dockerzhang merged 2 commits intoapache:masterfrom
fuweng11:INLONG-8462
Jul 7, 2023
Merged

[INLONG-8462][Manager] Fix attribute was overwritten by the default value error when modifying the group#8466
dockerzhang merged 2 commits intoapache:masterfrom
fuweng11:INLONG-8462

Conversation

@fuweng11
Copy link
Contributor

@fuweng11 fuweng11 commented Jul 7, 2023

Prepare a Pull Request

Motivation

Fix attribute was overwritten by the default value error when modifying the group.

Modifications

Fix attribute was overwritten by the default value error when modifying the group.

@gong
Copy link
Contributor

gong commented Jul 7, 2023

@fuweng11 I don't understand why is overwritten. Beause you just modify insert.

@fuweng11
Copy link
Contributor Author

fuweng11 commented Jul 7, 2023

@gong Because the default value was originally set in the request, when the user did not set the value, the default value will overwrite the correct value in the database when the modification operation is performed.

@dockerzhang dockerzhang merged commit 4b997e3 into apache:master Jul 7, 2023
ZhaoNiuniu pushed a commit to ZhaoNiuniu/inlong that referenced this pull request Jul 10, 2023
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.

[Bug][Manager] Attribute was overwritten by the default value error when modifying the group

4 participants