The bug
When you trade with a villager and that villager dies, sometimes the trading window stays open and you can go on trading.
How to reproduce
Grab a villager.
Pour out lava next to it.
Click the villager to trade. If the window closes and he is still alive, click it again.
Wait until it died. The trading window may still be opened.
Linked issues
is duplicated by 14
relates to 2
Attachments
Comments

Yes

Is this still a concern in the current Minecraft version 1.7.4 / Launcher version 1.3.8 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
Confirmed for 1.7.5 and 14w11b

Confirmed for 1.8

Probably relates to: MC-50614
1.12.1 confirmed
Confirmed for 1.13.1.
Also confirmed for 1.13.2 .
Confirmed for 19w09a

Affects 19w14b, sometimes
Confirmed in 1.14 pre-1
Still occurs in 1.14 pre-2. If the villager is damaged, but doesn't die, the trading menu is exited. However, if the villager dies, the menu remains.

Still in 1.14 pre-3, 1.14 pre-4 and 1.14 pre-5
Here is a video as example:
[media]
Still in 1.14 Release

Still in 1.14.1 Release

Still in 1.14.2 Pre-Release 1 and 1.14.2 Pre-Release 2

Seem to be fixed in 19w45b.

It is strange that 19w45b is in the affect versions list because I really can't reproduce this bug.

Please mark as resolved.
Yep, seems to have been fixed at some point between 19w44a and 19w45b.
Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.