#17204 introduced a test that uses signrawtransactionwithwallet to sign a non-wallet input (providing the necessary solution as a param).
At least 0.20 didn't allow this. Bisect reveals that the behaviour change was in bde7c9fa38775a81d53ac0484fa9c98076a0c7d1 (part of #16528, descriptor wallets).
Is this change intended behaviour, or a bug?