Project

General

Profile

Actions

bug #10340

closed

Categorical and Quantitative Data details view must only show recommended modifiers

Added by Andreas Müller 11 months ago. Updated 11 months ago.

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

100%

Estimated time:
Severity:
normal
Found in Version:

Description

... for state data or statistical measurement values respectively.

Currently it seems to load all modifiers (but not modifier subtypes)


Related issues

Related to EDIT - feature request #10337: Allow supportedCategoricalEnumeration and recommendedModfiers for term collectionClosedAndreas Müller

Actions
Related to EDIT - feature request #10364: Implement state modifiers for matrixClosedKatja Luther

Actions
Related to EDIT - feature request #10436: Make state modifiers invisible if no recommended term collection is selectedClosedKatja Luther

Actions
Actions #1

Updated by Andreas Müller 11 months ago

  • Related to feature request #10337: Allow supportedCategoricalEnumeration and recommendedModfiers for term collection added
Actions #2

Updated by Andreas Müller 11 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 70
Actions #3

Updated by Andreas Müller 11 months ago

This is generally fixed now. Please review.

During implementation I realized that in ModifierElement.setEntity() the combo_modifier != null part is never called.
So it looks like we can delete it. Do you agree.

In this code it was originally tried to set the recommende modifiers (but unsuccessful as it was not called).

Or should we adapt the code so this code is called (again)?

Can you please decide what is more consistent with other code?

What is missing in the current code is

combo_modifier.removeEmptyElement();

which is not nice as we do not need an empty element as soon as the value is set for the first time.

Is there a way to integrate this again?

Actions #4

Updated by Andreas Müller 11 months ago

  • Priority changed from New to Highest
Actions #5

Updated by Andreas Müller 11 months ago

Also we need to check if the recommended modifiers only mean the single states/values or for the complete categorical/numerical data record (which is the same modifier implementation as for all DescriptionElementBase subclasses. The later in general is missing a possibility of defining a list to take the modifiers from as far as I can see. This might be another ticket.

Actions #6

Updated by Katja Luther 11 months ago

Andreas Müller wrote in #note-3:

This is generally fixed now. Please review.

During implementation I realized that in ModifierElement.setEntity() the combo_modifier != null part is never called.
So it looks like we can delete it. Do you agree.

In this code it was originally tried to set the recommende modifiers (but unsuccessful as it was not called).

Or should we adapt the code so this code is called (again)?

Can you please decide what is more consistent with other code?

What is missing in the current code is

combo_modifier.removeEmptyElement();

which is not nice as we do not need an empty element as soon as the value is set for the first time.

Is there a way to integrate this again?

You are right this part of the code is never reached. I will clean up the code and reintegrate the combo_modifier.removeEmptyElement().
-> this can be done by calling createDefinedTermComboElement() with a parameter defining the presence of an empty element.

Actions #7

Updated by Katja Luther 11 months ago

Andreas Müller wrote in #note-5:

Also we need to check if the recommended modifiers only mean the single states/values or for the complete categorical/numerical data record (which is the same modifier implementation as for all DescriptionElementBase subclasses. The later in general is missing a possibility of defining a list to take the modifiers from as far as I can see. This might be another ticket.

I would move this to a new ticket.

Actions #8

Updated by Katja Luther 11 months ago

  • Assignee changed from Katja Luther to Andreas Müller

Please check again whether the changes are correct.

Actions #9

Updated by Andreas Müller 11 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 70 to 100

Works as expected now

Actions #10

Updated by Andreas Müller 10 months ago

Actions #11

Updated by Andreas Müller 5 months ago

  • Related to feature request #10436: Make state modifiers invisible if no recommended term collection is selected added
Actions

Also available in: Atom PDF