The order operations (OrderOperationsTrait::orderOperationLinks) offer a Cancel link on any order that is not already cancelled and not archived. That still includes completed and no-show (unused) orders.
Since #3611922, cancelTransaction() refuses a settled order (completed, unused) or an already-cancelled one, returning without a change. So on those orders the Cancel link leads to the confirm screen and then does nothing: a dead control.
Fix: offer Cancel only while the order has not settled (the trait already computes a "settled" flag covering cancelled, completed and unused), matching the manager guard. Should have been folded into #3611922. Kernel-tested.
Issue fork yoyaku-3611952
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
mably commented