The reprocessing dialog tries to help by autofilling the end value, but sometimes that concats a 1 to the start, sometimes adds a 1 to the number resulting in impossible parameters.
Type a 1 in the Start field, notice how a 1 appears in the End field
Change the End field to 110, see if it magically changes to 111. If it doesn't, try other numbers, it seems to be a property of the browser and window size. In Chrome, on that data collection, 111 changes to 112.
Type a number over 3600 in the End field, it should change to 3600
Click "Integrate" to submit the job, the message window is red
Now load the same page on a dev instance with this PR
Type a 1 in the Start field, nothing should yet appear in the End field
Type 110 in the End field, check it doesn't change
Type a number over 3600 in the End field, it should still change to 3600
Click "Integrate" to submit the job, the message window should be green
JIRA ticket: LIMS-1422
Summary:
The reprocessing dialog tries to help by autofilling the end value, but sometimes that concats a 1 to the start, sometimes adds a 1 to the number resulting in impossible parameters.
As discussed on Slack at https://diamondlightsource.slack.com/archives/CKS8PRR0Q/p1722949258543509
Changes:
To test: First, check the current behaviour.
Now load the same page on a dev instance with this PR