odb inline editor malfunction

Issue #139 resolved
dd1 created an issue

The odb inline editor malfunctions over a long distance connection. I am at TRIUMF, the DAQ is at CERN. When I click on many ODB entries to edit them, they do switch to "editing state", but immediately within 1 second or so they switch back to the normal mode. The result is I cannot edit anything. K.O.

Comments (5)

  1. dd1 reporter

    cannot edit anything at CERN. do not understand if this a problem with focus (everything on the page moves when I enter inline edit, so maybe the mouse points in the wrong place) or with the 1 sec update/refresh (about 500-700 RPC response time) or the interaction between the two (somehow?). K.O.

  2. Stefan Ritt

    I hope I have fixed this. I could reproduce it by adding a sleep(1) into mhttpd to "simulate" a slow network connection. Then I modified the inline editor code to be robust against promises which arrive late. For me this fixed the problem. Please try it with CERN and if it's good then close this issue.

  3. Log in to comment