Project

General

Profile

Actions

Bug #14346

open

Anchor for reordering gateways won't move to bottom position

Added by Michael Kellogg 12 months ago. Updated 12 months ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
Gateways
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.7.0
Affected Architecture:

Description

on page system_gateways.php if you check a gate way then click on anchor where you want it moved to saving it does not save changes

Actions #1

Updated by Christian McDonald 12 months ago

  • Status changed from New to Not a Bug

I'm not able to reproduce this.

  • Select a gateway
  • Select an anchor to move entry
  • Click save
Actions #2

Updated by Lev Prokofev 12 months ago

It seems doesn't save changes if you check the gateway marked as a "Default gateway", can you confirm?

Actions #3

Updated by Jim Pingle 12 months ago

This may just be a side effect of #12920 and whether or not those gateways have an entry in config.xml or not. If they are dynamic, they may not exist in the config until you edit/save them.

Actions #4

Updated by Jim Pingle 12 months ago

  • Subject changed from gateways reordering not saving to Anchor for reordering gateways won't move to bottom position
  • Status changed from Not a Bug to Confirmed

I was able to reproduce one problem here. You can't use the anchor to move a gateway to the bottom of the list. You can move a gateway anywhere else, though.

You can work around that by moving it second to last and then moving the bottom gateway above it.

Otherwise it's as I suspected: Dynamic gateway entries (not in the config) don't get an anchor on their row because they don't exist in the config, and without a config entry, there is no way for them to be reordered. You have to edit/save them all so they get into the config first. #12920 is where that sort of difference in behavior is being addressed where possible.

Actions #5

Updated by Jim Pingle 12 months ago

  • Category changed from Web Interface to Gateways
Actions #6

Updated by Michael Kellogg 12 months ago

could they at least be sorted by name by default to match interfaces sorting ?

Actions #7

Updated by Jim Pingle 12 months ago

Michael Kellogg wrote in #note-6:

could they at least be sorted by name by default to match interfaces sorting ?

No, because the order is significant when it comes to automatic selection. Interfaces are not sorted either.

We could maybe enable JavaScript sorting on the table so you can click the column headers to sort, but that would be a separate feature request.

Actions #8

Updated by Jim Pingle 12 months ago

Jim Pingle wrote in #note-7:

No, because the order is significant when it comes to automatic selection. Interfaces are not sorted either.

A point of clarification here: There is a cosmetic per-user GUI option to enable interface sorting but it does not change the backend behavior. Changing the gateways depending on that per-user cosmetic option would not reflect the reality of their actual behavior for automatic selection as it does now.

Actions

Also available in: Atom PDF