Skip to content

fix: Correct logic in time selection#793

Open
sfayer wants to merge 1 commit into
DIRACGrid:integrationfrom
sfayer:fix_timepanel
Open

fix: Correct logic in time selection#793
sfayer wants to merge 1 commit into
DIRACGrid:integrationfrom
sfayer:fix_timepanel

Conversation

@sfayer
Copy link
Copy Markdown
Member

@sfayer sfayer commented May 22, 2026

Hi,

There is a subtle bug in all of the panels that use time selection; when Time Span "For all time?" is selected, the endTime is mistakenly set to the current time in hours:minutes and included in the request parameters rather than being left blank. This causes things which have changed in the current minute to not be displayed. The root cause of this is a tiny logic bug which means that the wrong path is taken when "For all time" (iSpanValue = 0) is selected.

This visible effect of this was that if you were watching the Job Monitor, for example, jobs which had just started running would "disappear" for up to 60 seconds, until the minute rolled over and then they would reappear.

Regards,
Simon

BEGINRELEASENOTES
FIX: Correct logic in time selection panel
ENDRELEASENOTES

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant