Villagers lock their trades as soon as they accept a profession

As soon as villagers accept any profession they just lock in whatever the trades they have…
In my villager breeder all villagers are farmers… Normally they become unemployed when they can’t pathfind to a workbench…

But for some reason now they aren’t…

When I open the GUI the villager experience bar is filled a little bit… which mean their trades are locked…

The second they accept whatever profession this thing happen…

Is this some kind of a bug?

Actually I can’t recreate this on my local server…
Maybe due to a plugin

try on latest, multiple villager fixes in recent builds.

thanks… but it is due to a plugin

what plugin was /
is causing this ?

Do you have any idea what plugin? I am having the same exact problem on my server. Would be a lot of help if you know the exact plugin.