This question was prompted by mts' recent question What happens to plane tickets in case of airline bankruptcy?
Many airlines today are part of a global alliance of airlines and/or have interlining agreements with other airlines. As such, it's frequently possible to purchase a ticket for a flight that is operated by one airline, but ticketed by one of their partner airlines.
In a situation like in mts' question where an airline is obviously in financial trouble before you purchase the ticket, I'm wondering whether purchasing a ticket that is ticketed by a partner airline is a potential method of shielding oneself from the possibility of the flight's operating carrier ceasing operations due to bankruptcy. Obviously, this would be assuming that you would buy the ticket from a partner airline that is, in your judgment, less likely to cease operations before your flight.
So, specifically, my question is what happens when you hold a ticket for a flight where the operating carrier has ceased operations due to bankruptcy, but the ticketing carrier is still in operation?
Especially of interest is whether the ticketing carrier is then liable under the contract of carriage to get you to your destination, as they typically would be in the case of other irregular operations.
I'm aware that, in some countries (and, with certain cards in other countries,) purchasing a ticket through a credit card gives you recourse to get your money back, but I'm wondering if this could potentially be an alternative solution. If the ticketing airline indeed remains responsible for rerouting you, this seems like it could be a better solution than filing for a refund with your credit card, as you're not out the difference between your original ticket cost and a same-day ticket on another airline (which is typically very expensive.)