I have no idea if this is a glitch or not but villagers do not lose their profession even if you remove the block they need, and they do not breed like java and to conclude when baby villager and taken to the nether they do not empty out the bed they occupied.
Related issues
Comments


I am having this same issue in mcpe and I havent traded with any villagers. I dont understand how a villager can have a job when there isnt a work station around for that certain profession. I would love to see a fix for this soon.

Thank you for your report!
We're tracking this issue in MCPE-49853, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
If you trade with a villager before you break the block they keep their trades