Project

General

Profile

Actions

Bug #4661

closed

table 'worksheet' display not updated after table deleted

Added by Margaret O'Brien over 14 years ago. Updated over 14 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
01/12/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4661

Description

a user wanted to replace a dataTable in a package. She chose 'Data->delete data table'. The data table disappeared, and she added uploaded a new table and a created a new set of attribute descriptions. So far, this is as expected.

However, when she finished the attribute descriptions, and Morpho displayed the table, it displayed the old attribute descriptions in the 'worksheet' pane. When she clicked on an attribute, the new attribute description was displayed on the right (alongside the old table). When she closed the data package and reopened, the new data table was there, so it seems to be just a worksheet display issue.

The EML docids are cdonahue.26.2 (old table, to be deleted) and cdonahue.26.3 (new table)

Actions #1

Updated by Jing Tao over 14 years ago

I can reproduce bug on current svn version morpho.

Actions #2

Updated by Jing Tao over 14 years ago

In AbstractDataPackage method, there is variable to cache the attribute list of selected entity. This attribute list will be used to display the attributes on worksheet. However, the cached the attribute list wasn't reset when a entity was deleted, so user will see old attribute. After adding resetting the attribute list, the bug has been fixed.

Margaret, would you please test it again through a svn version of Morpho to make sure the bug was fixed?

Actions #3

Updated by Jing Tao over 14 years ago

close it. If margaret finds some issue, we will reopen it.

Actions #4

Updated by Jing Tao over 14 years ago

Change it to fixed status.

Actions #5

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 4661

Actions

Also available in: Atom PDF