status page does not show run pause and resume buttons, cancel button gone too

Issue #198 resolved
dd1 created an issue

I set ODB “/expt/Pause-Resume Buttons” to “y”, but the status page does not show the ”pause” button when run is running and “resume” when run is paused. Actually when paused, it incorrectly shows the “start” button. This used to work. In the mean time I can access the pause and resume buttons from the “transition” page. K.O.

Comments (6)

  1. Stefan Ritt

    There is no trace in mhttpd.cxx of the ODB entries /Experiment/Pause-Resume Buttons, nor /Experiment/Start-Stop Buttons. I believe it should be in init_mhttpd_odb() which has not been written by me. Once these switches are in the ODB, I’m happy to evaluate them in status.html to make the buttons appear.

  2. dd1 reporter

    The “cancel” button is missing, too. It is used to “undo” a stuck run transition. K.O.

  3. dd1 reporter

    All these buttons are present on the “transition” page, it is easy to see what they do and test them there. I think they did not survive the rewrite of the status page in html. K.O.

  4. dd1 reporter

    Rewrote the run status code in status.html to be similar to transition.html. Now it will show the start/stop/pause/resume/cancel buttons. K.O.

  5. Log in to comment