[UI] After Suspend the Resume option is not displayed

Description

Install operators from cli. Create a mysql database from the UI.
Click Suspend

After clicking Suspend, the Edit menu is closed. If you open the Edit menu again, then it displays Suspend, but it does not display Resume. The UI should display the Resume option instead of Suspend.

If Suspend is clicked again, then the following error is displayed

Environment

None

Attachments

5

Activity

Manish Chawla November 16, 2023 at 1:42 PM

Now after clicking Suspend, the Edit menu is closed. If you open the Edit menu again, Resume option is displayed. 

Similarly after clicking Resume, the Edit menu is closed. If you open the Edit menu again, Suspend option is displayed.

Filip Mikes November 15, 2023 at 2:39 PM

Fixed overwritten logic

Filip Mikes November 8, 2023 at 3:28 PM
Edited

Fix done by changing source of truth of suspend/resume for paused status from Db status to '.spec.paused'

Andrei Minkin September 6, 2023 at 2:09 PM

UI does not restrict some actions depending on the state. I'll create an epic for that

Andrei Minkin September 6, 2023 at 2:01 PM

You should wait until it will be paused and then it's available  

Done

Details

Assignee

Reporter

Sprint

Fix versions

Affects versions

Priority

Smart Checklist

Created August 31, 2023 at 12:46 PM
Updated November 16, 2023 at 1:43 PM
Resolved November 16, 2023 at 1:43 PM