I just tried to repro #2 with a blank project and it is really easy to do:

1. Change track #1 to an Audio track.
2. Select, then right click track #1 and choose "Select and Generate RealTrack".
3. In the dialog, choose any bass style and click on Close. The audio is generated.
4. Left-click on track #1 to select it.
5. Right-click on track #2 and select "generate MIDI track -> Bass".

Notice that track #1 is now converted to a MIDI track and contains MIDI data.

6. Select Edit->Undo.

Notice that the name of track #1 is reverted back to the previous RT value, but the track is still a MIDI track and still contains the MIDI data (iow, the Undo is only done partially). The RT is now lost, and there is no way to get it back to its state prior to step #5.

Also notice that if you right click on a selected RT and choose "generate MIDI track", you will get a warning that it is an invalid operation. This warning is bypassed if the steps are followed above.