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 the bug that index field is not getting populated when editing a … #783

Merged
merged 3 commits into from
Jun 11, 2024

Conversation

jackiehanyang
Copy link
Collaborator

Description

When try to edit a detector from detector define page, index field is not get populated with value.

Addressed by changing the timing and sequence of setting index field values. Instead of setting initial field values first and data fetching next, the code now do data fetching first, then setting field values.

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…detector

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
kaituo
kaituo previously approved these changes Jun 11, 2024
@jackiehanyang jackiehanyang merged commit 2198a20 into opensearch-project:main Jun 11, 2024
5 of 9 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 11, 2024
#783)

* fix the bug that index field is not getting populated when editing a detector

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update documentation

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
(cherry picked from commit 2198a20)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 11, 2024
#783)

* fix the bug that index field is not getting populated when editing a detector

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update documentation

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
(cherry picked from commit 2198a20)
jackiehanyang added a commit that referenced this pull request Jun 11, 2024
#783) (#784)

* fix the bug that index field is not getting populated when editing a detector

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update documentation

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
(cherry picked from commit 2198a20)

Co-authored-by: Jackie Han <jkhanjob@gmail.com>
opensearch-trigger-bot bot added a commit that referenced this pull request Jun 11, 2024
#783) (#784)

* fix the bug that index field is not getting populated when editing a detector

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update documentation

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
(cherry picked from commit 2198a20)

Co-authored-by: Jackie Han <jkhanjob@gmail.com>
(cherry picked from commit 2214cb3)
jackiehanyang added a commit that referenced this pull request Jun 11, 2024
#783) (#785)

* fix the bug that index field is not getting populated when editing a detector

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update documentation

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
(cherry picked from commit 2198a20)

Co-authored-by: Jackie Han <jkhanjob@gmail.com>
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.

2 participants