Project

General

Profile

Actions

bug #8733

closed

Descriptive data set: Specimens of a newly added taxon are not listed in Select Specimen dialog of the matrix editor

Added by Andreas Kohlbecker over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
New
Assignee:
Category:
taxeditor
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal
Found in Version:

Description

to reproduce

  1. create Descriptive data set in caryophyllales_spp
    • adding Rhipsalis pilocarpa by drag and drop to the Descriptive data set
    • save the dataset
  2. open the matrix editor and keep it open from now on
  3. add a new taxon to the Descriptive Data Set, drag Rhipsalis grandiflora Haw. from the taxon tree onto the Descriptive data set and save the descriptive data set.
  4. go back to the matrix editor an try adding the specimens of the new taxon --> these are not listed!

it is needed to close and reopen the the matrix editor


Related issues

Related to EDIT Platform Etablierung - task #8712: Kurs "Integrated Taxonomy" : prepare setup for workshop computersClosedAndreas Kohlbecker11/20/2019

Actions
Actions #1

Updated by Andreas Kohlbecker over 4 years ago

  • Project changed from EDIT Platform Etablierung to EDIT
  • Category set to taxeditor
  • Assignee set to Katja Luther
  • Target version set to Unassigned CDM tickets
  • Severity set to normal
Actions #2

Updated by Andreas Kohlbecker over 4 years ago

  • Tracker changed from task to bug
Actions #3

Updated by Andreas Kohlbecker over 4 years ago

  • Related to task #8712: Kurs "Integrated Taxonomy" : prepare setup for workshop computers added
Actions #4

Updated by Andreas Müller over 4 years ago

  • Assignee changed from Katja Luther to Patrick Plitzner
  • Target version changed from Unassigned CDM tickets to 287
Actions #6

Updated by Patrick Plitzner over 4 years ago

  • Status changed from New to Feedback
  • Assignee changed from Patrick Plitzner to Andreas Kohlbecker

Currently the specimens listed in the specimen selection dialog are cached after the first time opening the dialog because it can be a an expensive query. The specimen selection dialog has a refresh button on the top which will run the query again.

I agree that it might not be intuitive that newly added data does not appear directly. We could think of a message in the dialog saying that the dataset has changed and the user might have to refresh the dialog.

Actions #7

Updated by Andreas Müller over 4 years ago

This ticket is complex. In the ticket description is not written HOW the taxon is added. In general the underlying set of taxa can be changed by more or less changing ANY of the descriptive data set parameters (subtrees, ranks, areas, descriptions, ...). Only the descriptiveSystem(feature tree) does not seem to be relevant. Also the set of taxa can be changed outside the descriptive data set by adding/removing a taxon from the taxon tree.
So we need a clear definition what is the expected behavior. Possibilities are:

  1. Whenever the descriptive data set changes somehow the specimen candidate list is recomputed
  2. Whenever the descriptive data set changes a warning is given that a refresh is needed
  3. Same as 1. or 2. but for changes in the taxon tree
  4. Changes in the descriptive data set and/or taxon tree are not allowed while the matrix editor is open
  5. Another solution

Related to this we need to decide what happens to specimen attached to the descriptive data set if the taxon node filter changes and the specimen should not belong to it anymore (according the taxon node filter). A decision is needed if the taxon node filter or the set of descriptions has priority. If the later is the case we need a possibility to delete unwanted descriptions.

From the above solutions the 4th to me seems sufficient and most easy and to implement, but I may be wrong.

Actions #8

Updated by Andreas Müller over 4 years ago

  • Target version changed from 287 to Release 5.12
Actions #9

Updated by Andreas Kohlbecker over 4 years ago

  • Description updated (diff)
  • Assignee changed from Andreas Kohlbecker to Katja Luther

I updated the ticket description to give some more details on what is did exactly.

Even if there are multiple ways to add a taxon, adding a taxon explicitly to the descriptive data set should cause a related open matrix to refresh.

Using the refresh button as suggested by Patrick, seems not to help:

The specimen selection dialog has a refresh button on the top which will run the query again.

To the solutions suggested by Andreas Müller:

  • 1. Whenever the descriptive data set changes somehow the specimen candidate list is recomputed - I prefer this solution if refreshing of the taxa, specimen candidate list is not complicated or extremely computation intensive
  • *4. Changes in the descriptive data set and/or taxon tree are not allowed while the matrix editor is open

And there is also another option to consider:

  • Whenever the TaxonNavigator, or the Descriptive Dataset, or a Name Editor for a taxon associated with the descriptive data set is being saved the taxa or potential specimens for the matrix are being refreshed.

The primary question to answer is how much work is it to refresh the matrix and how computation intensive is it?

Actions #10

Updated by Katja Luther over 4 years ago

  • Target version changed from Release 5.12 to Release 5.13
Actions #11

Updated by Katja Luther about 4 years ago

  • Status changed from Feedback to In Progress

When adding or deleting a taxonnode filter to descriptive dataset the specimen cache of the matrix is set to null and when opening the specimen selection dialog, a new cache is created.

Actions #12

Updated by Katja Luther about 4 years ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Katja Luther to Andreas Müller

please review, if this solution already solves the problem, otherwise move the ticket to 5.14

Actions #13

Updated by Andreas Müller about 4 years ago

  • Assignee changed from Andreas Müller to Andreas Kohlbecker

The fix seems to improve the situation a lot. If the dataset is changed the specimen list is recomputed.

Not yet solved seems the problem that if an "external" change took place the list is not yet refreshed a specimen is attached to a taxon or removed from a taxon this is not yet reflected. There might be a typical workflow where this may become an obstacle: you run specimen imports while having the matrix open (something we have done during the workshop).

However, for me the refresh button works and therefore in general the described problem is not really serious.
Andreas K., what did you mean with "Using the refresh button as suggested by Patrick, seems not to help". Was this fixed in the meanwhile or do we talk about diffent contexts?

For me this ticket is "solved enough" (meaning it could be solved even better but this is not urgent) so we can close it. But Andreas K., you raised the issue and therefore I think you better do the final review.

Actions #14

Updated by Andreas Müller about 4 years ago

  • Subject changed from Descriptive data set: Specimen of newly added taxon are not listed in Select Specimen dialog of the matrix editor to Descriptive data set: Specimens of newly added taxon are not listed in Select Specimen dialog of the matrix editor
Actions #15

Updated by Andreas Müller about 4 years ago

  • Subject changed from Descriptive data set: Specimens of newly added taxon are not listed in Select Specimen dialog of the matrix editor to Descriptive data set: Specimens of a newly added taxon are not listed in Select Specimen dialog of the matrix editor
  • % Done changed from 0 to 50
Actions #16

Updated by Andreas Kohlbecker about 4 years ago

  • Status changed from Resolved to Closed
  • Assignee changed from Andreas Kohlbecker to Katja Luther
  • % Done changed from 50 to 100

Andreas Müller wrote:

The fix seems to improve the situation a lot. If the dataset is changed the specimen list is recomputed.

Not yet solved seems the problem that if an "external" change took place the list is not yet refreshed a specimen is attached to a taxon or removed from a taxon this is not yet reflected. There might be a typical workflow where this may become an obstacle: you run specimen imports while having the matrix open (something we have done during the workshop).

However, for me the refresh button works and therefore in general the described problem is not really serious.
Andreas K., what did you mean with "Using the refresh button as suggested by Patrick, seems not to help". Was this fixed in the meanwhile or do we talk about diffent contexts?

For me this ticket is "solved enough" (meaning it could be solved even better but this is not urgent) so we can close it. But Andreas K., you raised the issue and therefore I think you better do the final review.

Yes, I fully agree the ticket can be closed

Actions

Also available in: Atom PDF