PopupMenu to move tree node disappear very fast

Description

Steps to reproduce:

  • Login as Garden World

  • Open Account Element Table, Tab Element Value

  • Create one node with summary level=true

  • Create next node with summary level=false

  • try to move last created node into summary node > popup menu with options Insert After/Move Into disappears very fast so moving nodes is not possible

Environment

None

Attachments

1
  • 05 Feb 2015, 06:47 AM

Activity

Tomáš Švikruha 
February 5, 2015 at 7:48 AM

During testing I discovered next bug...

1. Go to Account Element > Tab Element Value
2. Create 'Parent' node (summary level)
3. Create two child nodes (child 1 and child 2) - summary level false
Note: Parent has to be empty, without childs
4. Move child 1 into Parent > Child is in DB assigned, but not displayed in left tree panel
5. Move child 2 into Parent > Child 2 is displayed in tree
6. Go to parent tab Account Element and return back to Account Element Value sub tab
7. Now you will see parent 1 with Child 1 and Child 2

So bug appears when parent is empty and first moved child into parent is not displayed.

Tomáš Švikruha 
February 5, 2015 at 7:27 AM

Thanks for fixing, it looks that your patch solve the bug. Thanks..

Hiep Lq 
February 5, 2015 at 6:49 AM

sorry , this issue is also in 2.1 because idempiere-1652 is apply to 2.1.

Hiep Lq 
February 5, 2015 at 6:47 AM

Issue is start from idempiere-1652.
root cause:
when move item, it will check current row is need save or not.
after more focus to first editable control in tab.

i see some other issue and improve it in my patch.
+ when move not need save current record, because you can more other node don't relate current note.
+ ever you move current edit note, it also not need save. after move you can decide save or not
+ same reason, when move node, not need change current select item.

remain below issue (in org window).
1. change current select record.
2. select other node, a message display to confirm save record.
3. select don't save
=> record is n't save and tabPanel still stand at this record. but tree is change to new select record.

Fixed

Details

Assignee

Reporter

Labels

Due date

Components

Priority

Created February 4, 2015 at 2:07 PM
Updated May 4, 2015 at 5:43 PM
Resolved February 8, 2015 at 12:53 AM