Project

General

Profile

bug #7994

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

Added by Katja Luther about 1 month ago. Updated 18 days ago.

Status:
New
Priority:
New
Category:
cdm
Target version:
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 about 1 month 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 18 days ago

#3 Updated by Patrick Plitzner 18 days ago

  • Target version changed from Release 5.5 to Release 5.6

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)