Villagers used to reset their trades upon sleeping if they were able to reach their craft bench. Since 1.13.0.1 Beta, villagers are not resetting their locked out trades.
Comments 3
I suspect this a duplicate of MC-147740 so can be closed, Looks like there should be a fix in the next beta release.
Worth mentioning that I tried several of the fixes mentioned in the other call(s), i.e. making sure the villagers had room a couple of spaces from their profession block/put all the villagers in a large hall giving them access to all profession blocks. Removing and replacing beds/bells/blocks. Improving reputation. None of these seem to work.
Villagers have enough beds, they have access to both a bed and profession block (have confirmed beds sparkle green accounting for every villager in the village, and the villager sparkles green when destroying and replacing their profession block).
It's been several days in game, can confirm at least one of the villagers in question (a farmer) sleeps in a bed during this time.