Project

General

Profile

bug #7994

Adding an already existing feature to a feature tree results in doubled entries

Added by Katja Luther 3 months ago. Updated 2 months ago.

Status:
New
Priority:
Highest
Category:
cdm
Start date:
01/15/2019
Due date:
% Done:

0%

Severity:
normal
Found in Version:

Description

when adding a feature to a feature tree it is not checked whether the feature tree already contains this feature.


Related issues

Related to Edit - feature request #8010: [RULE] Validate allowDuplicates for FeatureTrees/TermGraphs New 01/22/2019

History

#1 Updated by Andreas Müller 3 months ago

  • Category set to cdm

This is a feature, not a bug in IMO. At least in additivity we allow these structures explicitly for feature trees representing biological structures and having generic terms like "leaf" which can be used at different places in the tree and which get their full meaning by following the tree path to the root.

However, using a feature tree for "biological structures" is maybe only a workaround until structures have there own type and tree structure. So I don't know if for features there are similar use cases but I guess there are.

Maybe we could add a flag to the tree if it generally allows duplicates. If the flag is false an exception should be thrown.

#2 Updated by Patrick Plitzner 3 months ago

#3 Updated by Patrick Plitzner 3 months ago

  • Target version changed from Release 5.5 to Release 5.6

#4 Updated by Patrick Plitzner 2 months ago

  • Priority changed from New to Highest

#5 Updated by Patrick Plitzner 2 months ago

  • Target version changed from Release 5.6 to Reviewed Next Major Release

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)