When you try to create an orchestration Strategy and it failed, the
pop-up showed the same error message in the main and details section.
This change fixes this issue. In addition, has been fixed for the
Apply Strategy action too.
Test Plan:
PASS: Create an invalid strategy and verify the pop-up error message
is displayed properly for example:
Error: Strategy creation failed.
Details: The server could not comply with the request since its either malformed or otherwise incorrect. Invalid groud_id
PASS: Apply strategy and verify the pop-up error message
is displayed properly.
Closes-bug: 2018625
Change-Id: I805cc051a843af07f2dba1701aef8bc791b9450a
Signed-off-by: Rafael Moyano <email address hidden>
Reviewed: https:/ /review. opendev. org/c/starlingx /gui/+/ 882484 /opendev. org/starlingx/ gui/commit/ 694bd0fbc60cbff f620b3cefdc7327 ea5e37f9a1
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 694bd0fbc60cbff f620b3cefdc7327 ea5e37f9a1
Author: Rafael Moyano <email address hidden>
Date: Fri May 5 16:59:41 2023 -0300
Horizon orchestration pop-up shows redundant error
When you try to create an orchestration Strategy and it failed, the
pop-up showed the same error message in the main and details section.
This change fixes this issue. In addition, has been fixed for the
Apply Strategy action too.
Test Plan:
PASS: Create an invalid strategy and verify the pop-up error message
is displayed properly for example:
Error: Strategy creation failed.
Details: The server could not comply with the request since its either malformed or otherwise incorrect. Invalid groud_id
PASS: Apply strategy and verify the pop-up error message
is displayed properly.
Closes-bug: 2018625
Change-Id: I805cc051a843af 07f2dba1701aef8 bc791b9450a
Signed-off-by: Rafael Moyano <email address hidden>