Ticket #158 (closed: suspended)

Opened 11 years ago

Last modified 11 years ago

Tree Node cannot have same name as branch node

Reported by: shermanl Owned by: administrator
Priority: low Milestone: Ecopath 6: build 6.0.7
Component: Ecospace Version:
Severity: minor Keywords:
Cc:

Description

Click on Ecospace>Input>Fishery node, the result will change the tree selection to Ecopath>Input>Fishery branch.

Change History

comment:1 Changed 11 years ago by shermanl

All,

Due to a bug when clicking on Ecospace>Input>Fishery node, the result will change the tree selection to Ecopath>Input>Fishery branch. We have changed the name of the node to Ecospace Fishery (we are up to any suggestions since it needs to be something other than Fishery).

Fang and I looked at this code to see how trivial it would be to fix this bug (or overlooked feature) and it seems to be a change that would be doable but not straighforward. One would create some sort of dictionary for all the tree nodes where they have a unique key we can look up. Unfortunately, this would (Jeroen's or Fang's little time they have and carrie's also little time she has to test it).

Since we have come to the point where every hour counts, I have asked Fang to rename that node to Ecospace Fishery as seen in the screen shot. I am up for suggestions. This bug should be looked at since it would also have implications for plugins, but will have to wait till after the release.

Robyn, when people are ok with the name, could you reflect this change in the documentation.

Cheers,
Sherman

comment:2 Changed 11 years ago by jeroens

Made pragmatic fix: only nodes with content must have unique names. The Ecopath Fishery node does not invoke any content.

Note: See TracTickets for help on using tickets.