Ticket #4577 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Muon Analysis Interface - throws bad lexical cast on nonsensical "Load run" input

Reported by: Peter Parker Owned by: Peter Parker
Priority: critical Milestone: Release 2.0
Component: Mantid Keywords:
Cc: anders.markvardsen@… Blocked By:
Blocking: Tester: Anders Markvardsen

Description

To reproduce:

  1. Open Muon Analysis tab
  2. Type "776688-n7788" or other such incorrect range string into the Load run field.

Observe an unreported exception. (bad lexical cast)

Change History

comment:1 Changed 9 years ago by Peter Parker

Refs #4577. Cover case where FindRuns was throwing bad lexical cast.

Covered case using regex. Added a couple more assertions to unit test.

Changeset: 7dfa9a01eb2e3269b317c3d4040f7112144ae7a2

comment:2 Changed 9 years ago by Peter Parker

  • Status changed from new to accepted

comment:3 Changed 9 years ago by Peter Parker

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:4 Changed 9 years ago by Anders Markvardsen

  • Status changed from verify to verifying
  • Tester set to Anders Markvardsen

comment:5 Changed 9 years ago by Anders Markvardsen

  • Status changed from verifying to closed

Tested and error message box and red error message no longer displayed

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5424

Note: See TracTickets for help on using tickets.