Cured Villagers Cannot Restock until Game is Reloaded
Villagers will very rarely restock in my game, despite being capable of restocking. Even after leaving the game running for multiple hours at a time, while within simulation distance of the villagers, I will come back and find that their trades are still locked.
This bug is temporarily addressed by quitting and restarting the game, which allows the villagers to unlock their trades, as long as they are not over the daily limit. But they will quickly become trade locked again regardless, until the game is reloaded again.
I was able to reproduce this bug in a brand new creative world by locking a farmer in a 1x1 cell, trading with it until it hit master level, and then infecting and curing it. This bug was not present before curing the Villager. The composter was broken and replaced, and particles observed to confirm the farmer had re-linked to the workplace before testing.

This villager did not restock after a 2 hour AFK session immediately after trading with it. After quitting (to main menu) and reloading the game during work hours, it was then able to restock immediately.
Environment
EndeavourOS Linux (Arch-based)
openjdk 21 2023-09-19
OpenJDK Runtime Environment (build 21+35)
Created Issue:
Cured Villagers Cannot Restock until Game is Reloaded
Villagers will very rarely restock in my game, despite being capable of restocking. Even after leaving the game running for multiple hours at a time, while within simulation distance of the villagers, I will come back and find that their trades are still locked.
This bug is temporarily addressed by quitting and restarting the game, which allows the villagers to unlock their trades, as long as they are not over the daily limit. But they will quickly become trade locked again regardless, until the game is reloaded again.
I was able to reproduce this bug in a brand new creative world by locking a farmer in a 1x1 cell, trading with it until it hit master level, and then infecting and curing it.
This villager did not restock after a 2 hour AFK session immediately after trading with it. After quitting (to main menu) and reloading the game during work hours, it was then able to restock immediately.Environment
EndeavourOS Linux (Arch-based)
openjdk 21 2023-09-19
OpenJDK Runtime Environment (build 21+35)
Villagers will very rarely restock in my game, despite being capable of restocking. Even after leaving the game running for multiple hours at a time, while within simulation distance of the villagers, I will come back and find that their trades are still locked.
This bug is temporarily addressed by quitting and restarting the game, which allows the villagers to unlock their trades, as long as they are not over the daily limit. But they will quickly become trade locked again regardless, until the game is reloaded again.
I was able to reproduce this bug in a brand new creative world by locking a farmer in a 1x1 cell, trading with it until it hit master level, and then infecting and curing it.
This villager did not restock after a 2 hour AFK session immediately after trading with it. After quitting (to main menu) and reloading the game during work hours, it was then able to restock immediately.Villagers will very rarely restock in my game, despite being capable of restocking. Even after leaving the game running for multiple hours at a time, while within simulation distance of the villagers, I will come back and find that their trades are still locked.
This bug is temporarily addressed by quitting and restarting the game, which allows the villagers to unlock their trades, as long as they are not over the daily limit. But they will quickly become trade locked again regardless, until the game is reloaded again.
I was able to reproduce this bug in a brand new creative world by locking a farmer in a 1x1 cell, trading with it until it hit master level, and then infecting and curing it. This bug was not present before curing the Villager. The composter was broken and replaced, and particles observed to confirm the farmer had re-linked to the workplace before testing.
This villager did not restock after a 2 hour AFK session immediately after trading with it. After quitting (to main menu) and reloading the game during work hours, it was then able to restock immediately.
Please provide clear and consistent (as possible) steps to reproduce this, with any extra information attached such as; world downloads, structures, or a video showcasing the issue if possible.
I can't reproduce, however it seems to be the same problem as
MC-252439.All similar glitches have been labelled as resolved, and as far as I can tell the glitch being non-stable so that it temporarily fixes itself on reload is novel behaviour. So I think this might in fact be a new glitch worth investigating, even if it has a similar or related effect.
Do let us know if you can find a consistent setup to reproduce