Ideas
BUG UPDATE:
After further testing and experiencing bug states, I can conclude that the second issue is related to the first one. So you can't reproduce it before entering the bugged state of the first issue. This means that if you die, you get bugged with double assigned gadget/secondary primary weapon, you can take over whatever is bound as input number 4 gadget on the class you switch to and back. Also want to point out that you need to have the grenade launcher equipped as Assault class and then use the underbarrel attachment on your primary weapon to get into the bugged state when revived on the Battlefield, otherwise the second glitch doesn't work.
I have tested this out, and it can really break the game because you have the potential to be an assault/medic hybrid because if someone has defibs on numpad 4 you are able to revive teammates once you switch back to your original class kit. I had scenario's where I had the medic Incindiary Grenade Launcher or the Ammo Bag/Pouch, but also the GPDIS and Deployable Shield. I think that if I try it out with engineer classes I can obtain the rocket launcher or blowtorch.