This bug was observed in Bedrock 1.9.83 through to 1.20.40
A villager with a profession but prior to being made permanent by a trade can have their profession made permanent if the player logs out of Realms or (occasionally) unloads the villager through movement. Once this happens, the villager profession is permanent.
When this bug interacts with MCPE-176341, the result is that villagers will inadvertently make connections to occupied jobsites, and then become trapped in that profession. This can then lead to a propagation of villagers with a fixed profession and no connection to a jobsite.
Related issues
Comments


I cannot confirm or deny whether this happens on local worlds. I only play MCPE on a Realms server. I can confirm that this has occurred on the server when I was the only player logged in, and that it was reproducible there. I am not the server host so I can't give much details, but we play with cheats turned off, and I believe it is on normal difficulty.
PS, does this count as a reply? I don't see any reply button or threading options

We're tracking this issue at MCPE-49853, so I will resolve and link this ticket as a duplicate.
Hi
Does this issue occur only on Realms or it can be reproduced on local worlds as well?
This ticket will automatically reopen when you reply.