Missing possibility to delete several tasks
-
@pmonstad There is.
mysql use fog update tasks set taskStateID=5 where (taskStateID=1 or taskStateID=2 or taskStateID=3);
What that does is sets tasks that are queued, checked in, or in progress to cancelled.
-
@Wayne-Workman Thanks!
I started over again to see if I could find a way around, and I did:
Now I have one active task, a host waiting for deploy. The delete button is missing. I managed to get the missing button available by doing this:- One active task (waiting for deploy)
- Hit the Pause auto update button
- Then hit the menu Active Tasks again. Now the delete button is visible in the bottom of the screen
I hope this can help you Tom sorting this out.
-
@Wayne-Workman You can simplify the statement to cancel all tasks with:
UPDATE `fog`.`tasks` SET `taskStateID`=5 WHERE `taskStateID` IN (0,1,2,3);
-
I don’t know if this is fixed but I am hoping so. I moved the cancel button to outside the checker that defines if it should show or not the cancel button to begin with.
-
I marked it as solved. If the OP still has issues, he can mark it as unsolved.
-
There is still a problem when I try to cancel one or more tasks. The button is now available and I can cancel a task the first time I enter Task Management. If I try to to more than one cancel nothing happens if I hit the cancel button. Works first time only.
-
@pmonstad I run svn 5676
-
Moving back to unsolved, because there is still an issue. Button exists but only first time works.
-
I’ve done more work and basically rewrote the js file and how it presents these buttons. Please let me know if it is good now.
-
@Tom-Elliott Now it works as expected. Thanks!