nagyistoce / cardpeek

Automatically exported from code.google.com/p/cardpeek
Other
1 stars 0 forks source link

ui.tree_find_node searches beyond the end of the sub tree #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create two sub nodes and under the 2nd one create a further sub node such as:

+"Some node"
---"TestNode1"
--+"TestNode2"
----"subnode"

TN1_REF = ui.tree_find_node(SOME_NODE_REF, "TestNode1")
SN_REF = ui.tree_find_node(TN1_REF, "subnode")

What is the expected output? What do you see instead?
I expect SN_REF to be nil but instead it points to the node under "TestNode2"

What version of the product are you using? On what operating system?
0.7.2, win32 on Windows 7 64-bit

Please provide any additional information below.

Original issue reported on code.google.com by Anthony....@gmail.com on 28 May 2013 at 3:34

GoogleCodeExporter commented 9 years ago
Yes. That's a bug. Many thanks.
I'll correct it for the next release of Cardpeek. 
A fix is proposed in commit 376. I'll do some further testing.

Original comment by L...@gmx.com on 28 May 2013 at 7:00

GoogleCodeExporter commented 9 years ago
The fix in SVN seems to work. I'll close this issue for now.

Original comment by L...@gmx.com on 2 Jul 2013 at 10:45