Ticket #6092 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Cannot plot when single workspace has replaced a group

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: blocker Milestone: Release 2.3.1
Component: Mantid Keywords: PatchCandidate,Released
Cc: Blocked By:
Blocking: Tester: Peter Peterson

Description

To reproduce:

  • Click Load and choose file "CSP78173.raw", this should load a group
  • Click Load again and choose "MAR11001.raw" AND change the OutputWorkspace to CSP78173, so that it will replace the current group
  • Right-click and "Plot Spectrum". This will immediately raise the error dialog for an unhandled exception saying it can't find a workspace with the given name. Curiously the name seems to be the title of the workspace rather than the expected entry name in the list.

Change History

comment:1 Changed 8 years ago by Martyn Gigg

This seems to be to do with the fact that the entry with that name was a group but is now a single workspace

comment:2 Changed 8 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:3 Changed 8 years ago by Martyn Gigg

Fix plotting bug when group has been replaced. Refs #6092

The workspace was replaced but the drop-down description not replaced (it only replaces if it is already expanded) so when plotting it was getting the old data which said it was a workspace group.

Changeset: d5cc612a34acd098de997365d78b20e07ec03a91

comment:4 Changed 8 years ago by Martyn Gigg

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

comment:5 Changed 8 years ago by Martyn Gigg

  • Keywords PatchCandidate added

comment:6 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.4 to Release 2.3.1

moved to patch release

comment:7 Changed 8 years ago by Martyn Gigg

Fix plotting bug when group has been replaced. Refs #6092

The workspace was replaced but the drop-down description not replaced (it only replaces if it is already expanded) so when plotting it was getting the old data which said it was a workspace group.

Changeset: 8868f032a9df3885bf78951010172ea16b3ff75d

comment:8 Changed 8 years ago by Peter Peterson

This was merged onto the release branch.

comment:9 Changed 8 years ago by Peter Peterson

  • Status changed from verify to verifying
  • Tester set to Peter Peterson

comment:10 Changed 8 years ago by Peter Peterson

  • Status changed from verifying to closed

This was done correctly.

comment:11 Changed 8 years ago by Martyn Gigg

Fix plotting bug when group has been replaced. Refs #6092

The workspace was replaced but the drop-down description not replaced (it only replaces if it is already expanded) so when plotting it was getting the old data which said it was a workspace group.

Changeset: d5cc612a34acd098de997365d78b20e07ec03a91

comment:12 Changed 7 years ago by Nick Draper

  • Keywords PatchCandidate,Released added; PatchCandidate removed

comment:13 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6938

Note: See TracTickets for help on using tickets.