| << Back to previous view | 
                                    
                                [QB-2693] Reording variables in UI acts unpredictably since upgrade to 6.1.x
                
             | 
        |
| Status: | Closed | 
| Project: | QuickBuild | 
| Component/s: | None | 
| Affects Version/s: | 6.1.11 | 
| Fix Version/s: | None | 
| Type: | Bug | Priority: | Critical | 
| Reporter: | Don Ross | Assigned To: | Robin Shen | 
| Resolution: | Fixed | Votes: | 0 | 
| Remaining Estimate: | Unknown | Time Spent: | Unknown | 
| Original Estimate: | Unknown | ||
| Environment: | RHEL server, Windows agents. | ||
| Description | 
| 
                I created a new variable, which appeared automatically at the bottom of the list.  I want it to be nearer the top, so I used click-drag to reorder it.
 When I hit refresh, a different variable had been moved. I moved it back, but the wrong one moved, so I tried to move them again... things got very confusing after that.  | 
        
| Comments | 
| Comment by Don Ross [ 08/Apr/16 10:08 PM ] | 
| 
                Further investigation suggests that the error occurs if I move a variable which is defined as a very long (50+ lines) script.
 Or, if I move a variable that was before or after such a script.  | 
| Comment by Robin Shen [ 09/Apr/16 02:26 AM ] | 
| Tried but can not reproduce. Are there any errors printed on QB server log when this happens? | 
| Comment by Don Ross [ 11/Apr/16 02:36 PM ] | 
| 
                I will send you my configuration.xml, maybe you can reproduce it with that.  I was able to reproduce in a test environment.
 I experiemented more, and today it looks like the wierdness happens if I move the 32nd element, or move something below the 32nd element to above it. It is repeatable. Oh! Something I should have mentioned, the issue is manifesting in a child configuration of root, which has about 50 variables defined, and inherits about 35 variables from the parent. It does not appear to manifest in the root configuration.  | 
| Comment by Don Ross [ 11/Apr/16 07:39 PM ] | 
| 
                If I grab the item just below the one I want to move, and move it to the location I want to move to, and then refresh, I get the result I want.
 However, this is only for items in the bottom of the list. The top 32 items in the list I am able to move with no confusion. The effect of moving an item in and out of the top 32 seems to be unpredictable, but maybe I just haven't figured out the pattern.  | 
| Comment by Robin Shen [ 12/Apr/16 02:25 AM ] | 
| Instead of sending me the standalone configuration.xml, please send me the full database backup if possible. Thanks! |