if you have no connections selected and run a fluidshell that makes connections through its script and while that shell is opening and connecting open another fluidshell the new fluidshell is picking up the last connection made by the previous fluidshell instead of running its script for a fluidshell that is not associated to something. attaching screen shots...
|
127 KB
|
139 KB
|
77 KB
We need to do a code review to understand the current behaviour before we determine how to handle this.
This problem has something to do with SVN r27007 change made in ShellCtxAction.open(CFrame, ActionHandler, ConnectionProperties, String , CTreeNode)::lines 81-86.
ShellCtxAction r27007 change did the followings:
"if the schema tree does not have window focus and there is a shell panel opened, then the connection property file associated with that shell panel is used to open the new fluid shell.".
In your test case, r27007 change means if you click the 'Local Database Servers' node before open the second shell, then you should get result you were looking for.
I don't know why r27007 added that check in ShellCtxAction.java. SVN r27007 was checked in by Niels, perhaps Niels can comment on this.
This problem has something to do with SVN r27007 change made in ShellCtxAction.open(CFrame, ActionHandler, ConnectionProperties, String , CTreeNode)::lines 81-86.
ShellCtxAction r27007 change did the followings:
"if the schema tree does not have window focus and there is a shell panel opened, then the connection property file associated with that shell panel is used to open the new fluid shell.".
In your test case, r27007 change means if you click the 'Local Database Servers' node before open the second shell, then you should get result you were looking for.
I don't know why r27007 added that check in ShellCtxAction.java. SVN r27007 was checked in by Niels, perhaps Niels can comment on this.
I did a review of ShellCtxAction. We initially tried to mimic the initialization behavior of QueryBuilder. But I think we should initialize the Shell based off the tree selection in all conditions. I've made a fix in SVN #29890
I did a review of ShellCtxAction. We initially tried to mimic the initialization behavior of QueryBuilder. But I think we should initialize the Shell based off the tree selection in all conditions. I've made a fix in SVN #29890
Issue #7793 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
No fixed build |
No time estimate |
We need to do a code review to understand the current behaviour before we determine how to handle this.