Skip to content

Conversation

@ndg63276
Copy link
Collaborator

JIRA ticket: LIMS-1854

Summary:

Supersedes #992 as merging that one got too hard.
A user accidentally submitted the same job several times as it was not clear it had been submitted.

Changes:

  • Change the various buttons to say "Submitted" after successful submission, and disable them
  • Revert the buttons after 5s
  • Fix a couple of typos and a bug where a dialog box would stay open even if you click Ok

To test:

  • Use the production database as Zocalo will fail otherwise
  • Go to any suitable data collection with downstream jobs (eg /dc/visit/cm40607-4/id/20164987)
  • Click the cog icon for reprocessing
  • Choose a pipeline (fast_dp is quickest) and some images, and click "Integrate". Check the button becomes disabled, and the text changes to "Submitted!"
  • Check the button changes back after 5s (when the toast also disappears)
  • Check the job runs ok
  • Repeat the test with "Process Individually" ticked
  • View one of the processing results, and then click the "Downstream Processing" button. Choose an eligible job and click "Submit". Check the button changes as above
  • Go to the multicrystal page (eg /mc/visit/cm40607-4), and click Integrate without selecting any data sets. Check the dialog that appears only has an Ok button and it goes away when you click it
  • Select some data from one or more data sets and click Integrate. Check the button changes as above.

@ndg63276 ndg63276 changed the base branch from master to pre-release/2025-R5.3 November 24, 2025 16:55
@ndg63276 ndg63276 merged commit a565211 into pre-release/2025-R5.3 Nov 24, 2025
1 of 2 checks passed
@ndg63276 ndg63276 deleted the improvement/LIMS-1854/prevent-multiple-reprocessing-jobs-v2 branch November 24, 2025 17:01
ndg63276 added a commit that referenced this pull request Dec 5, 2025
* LIMS-1983: Update phpCAS and php-jwt (#1005)

* LIMS-1970: Fix Logs & Files view if filepath is null (#1004)

* LIMS-1962: Allow downloading of html files (#1006)

* LIMS-1431 - Display Metal Id downstream pipeline (#1003)

* LIMS-1854: Prevent submission of multiple reprocessing jobs (#1009)

* LIMS-1956: Add dewar names and serial nos to shipment requests (#1000)

* Fix unit tests (#1015)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants