Opened 4 years ago

#831 new defect

deleting species from tree silently removes groups

Reported by: westram Owned by: devel
Priority: minor Milestone:
Component: Library (tree) Version: SVN
Keywords: Cc:

Description

reproduce (1):

  • load attached database group_delete.arb
  • remove marked species from 'tree_test'
  • effects:
    • removes group 'inner2' ((./) because all species were removed)
    • removes group 'outer' ((X) unwanted)

reproduce (2):

  • remove marked species from 'tree_test_2'
    (=only one ungrouped species!)
  • effects:
    • removes group 'outer' ((X) unwanted and very unexpected)

reproduce (3):

  • remove marked species from 'tree_test_3'
    (=only one ungrouped species removed + no brother-group 'inner1' present)
  • effects:
    • group 'outer' vanishes from tree, but
      • ACI command 'taxonomy' still "sees" the group
      • reloading the tree lets the group reappear

reasons:

  • (1)+(2): group 'outer' gets overwritten by group 'inner1' (!)
  • (3): no idea

wanted behavior:

  • (1)+(2): merge group names ("outer_inner1")
    • Note: the underscore is the recommended syntax to indicate that multiple taxonomy levels fall to the same node.
  • (3): don't vanish

Attachments (1)

group_delete.arb (96.1 KB) - added by westram 4 years ago.
use to reproduce bad behavior

Download all attachments as: .zip

Change History (1)

Changed 4 years ago by westram

use to reproduce bad behavior

Note: See TracTickets for help on using tickets.