Ticket #8774 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

Crash when editing TableWorkspace from MantidPlot

Reported by: Martyn Gigg Owned by: Roman Tolchenov
Priority: critical Milestone: Release 3.2
Component: Framework Keywords:
Cc: Blocked By:
Blocking: #5544 Tester: Wenduo Zhou

Description

From James Lord

If I create a small Table Workspace such as (in Script Window):

Tab=CreateEmptyTableWorkspace()

Tab.addColumn("str","First")

Tab.addColumn("str","Second")

Tab.addRow(["Hello","World"])

Tab.addRow(["Crash","Mantid"])

I then open the table in MantidPlot, and turn off Read only in the "Column Options" dialog for each.

I click on a table cell and change it, and Tab to go to the next. When I tab from the last predefined cell some extra rows are added and the first new cell is highlighted. I type a new value here and press Tab and Mantid crashes.

Change History

comment:1 Changed 7 years ago by Roman Tolchenov

  • Milestone changed from Release 3.1 to Release 3.2

comment:2 Changed 7 years ago by Nick Draper

  • Status changed from new to assigned

Bulk move of tickets out of triage (new) to assigned at the introduction of the triage state

comment:3 Changed 7 years ago by Roman Tolchenov

  • Status changed from assigned to inprogress

Re #8774. Block attemts to add rows to a MantidTable.

Changeset: 58e61e541db2ac450cc911add1bbb9636d7e26c7

comment:4 Changed 7 years ago by Arturs Bekasovs

  • Blocking 5544 added

comment:5 Changed 7 years ago by Roman Tolchenov

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

To tester:

try the steps in the ticket's description. No new rows should be added.

comment:6 Changed 7 years ago by Wenduo Zhou

  • Status changed from verify to verifying
  • Tester set to Wenduo Zhou

comment:7 Changed 7 years ago by Wenduo Zhou

I could repeat the reported problem. And the change in this ticket is able to fix the issue.

comment:8 Changed 7 years ago by Wenduo Zhou

  • Status changed from verifying to closed

Merge remote-tracking branch 'origin/bugfix/8774_editing_tableworkspace_in_mantidplot'

Full changeset: fe88bf059a7eb90af2fa17f90cfbb9af4be666ad

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 9618

Note: See TracTickets for help on using tickets.