You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The exported json containing routing rules should reflect their order in the "Rule list" and NOT on order of their selection (by keyboard)
实际情况
The exported json's ordering of routing-rule items depends on how the items were selected in the UI using keyboard which is counterintuitive and unexpected. For example, the last rule can appear first in the copied content! (depending on how items were selected)
复现方法
Go to Settings > Routing Setting > dbl-click on a routing rule-list to open the "Rule Settings" dialog > Go to bottom of the rule list and click on last-item (to select it) then click on item-before-last > Right-click and select "Export Selected Rules" > Paste the clipboard content into Notepad and observe that the order is reversed from the order in rule-list!
日志信息
N/A
额外信息
No response
我确认已更新至最新版本
是
我确认已查询历史issues
是
The text was updated successfully, but these errors were encountered:
This is because the events, data and selection order of the grid control are related.
OnceUponATimeInAmerica
changed the title
[Bug]: In "Rule settings" window, when selecting several routing items, the exported json's content depends on order of selection!
[Bug]: In "Rule settings" dialog, when selecting several routing rules, the exported json's content depends on order of selection!
Dec 30, 2024
Perhaps matching the selected rules (in grid control) against rules from the database, based on rule id (which rules have been selected?) and then copying to clipboard from the database itself (in which the order of the rules is also preserved) can work?
预期情况
The exported json containing routing rules should reflect their order in the "Rule list" and NOT on order of their selection (by keyboard)
实际情况
The exported json's ordering of routing-rule items depends on how the items were selected in the UI using keyboard which is counterintuitive and unexpected. For example, the last rule can appear first in the copied content! (depending on how items were selected)
复现方法
Go to Settings > Routing Setting > dbl-click on a routing rule-list to open the "Rule Settings" dialog > Go to bottom of the rule list and click on last-item (to select it) then click on item-before-last > Right-click and select "Export Selected Rules" > Paste the clipboard content into Notepad and observe that the order is reversed from the order in rule-list!
日志信息
N/A
额外信息
No response
我确认已更新至最新版本
我确认已查询历史issues
The text was updated successfully, but these errors were encountered: