Step to reproduce :
spawn a villager close to a composter
wait for him to take the job
make trade with him until at leat one of his trade is locked
"zombify" & cure the Farmer
wait as long as you want, the farmer no longer reset his trades
I saw MCPE-63311 but I don't think it's related as to confirm "my" bug I tested it on an empty world so there existed no other work station/POI in the world
Thank you for your report!
We're tracking this issue in MC-252439, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as Fixed. Please check the Fix Version/s field in that ticket to see in which version this behavior was or will be fixed.
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:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki