Ticket #8828 (closed: fixed)
Mantid crash when adding workspace spectra to Qti plot
Reported by: | Arturs Bekasovs | Owned by: | Harry Jeffery |
---|---|---|---|
Priority: | major | Milestone: | Release 3.3 |
Component: | GUI | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Peter Parker |
Description (last modified by Arturs Bekasovs) (diff)
To reproduce:
- File -> New -> New Table
- Fill the table with some values. (You may find Table -> Set Column Values... handy to do that quickly)
- Select Y column, and do Plot -> Line.
- Load any Mantid workspace.
- Drag&drop the loaded workspace from the Workspaces tree-view to the plot, selecting any spectra.
Change History
comment:2 Changed 7 years ago by Nick Draper
- Status changed from new to assigned
bulk move to assigned at the into of the triage step
comment:3 Changed 6 years ago by Harry Jeffery
- Owner set to Harry Jeffery
- Status changed from assigned to inprogress
comment:4 Changed 6 years ago by Harry Jeffery
Fix crash when adding workspace spectra to plot.
This crash was caused by checking the types of units when no units existed yet. We now adopt the new curve's units if we have none of our own, and check the unit pointers before dereferencing them.
Refs #8828
Changeset: 874da42d3d0c8ad2b8e78b7071c45fde3603f911
comment:5 Changed 6 years ago by Harry Jeffery
- Status changed from inprogress to verify
- Resolution set to fixed
Testing: See reproduction steps above.
comment:6 Changed 6 years ago by Peter Parker
- Status changed from verify to verifying
- Tester set to Peter Parker
comment:7 Changed 6 years ago by Peter Parker
- Status changed from verifying to closed
Merge remote-tracking branch 'origin/bugfix/8828_fix_crash_when_adding_spectra_to_plot'
Full changeset: f8b9004b21c0ad049842648088dd569a5790dc40
Note: See
TracTickets for help on using
tickets.