When using the duplicate button on the patron record the cardnumber is not generated even if the autobarcode is set - it does work if you add a new patron via the 'new' button.
I confirm this bug.
Created attachment 12062 [details] [review] fix bug 7068 - autobarcode not working when duplicating patrons - by blanking cardnumber in the code and showing it in the template, instead of just not showing it in the template
Created attachment 12121 [details] Signed off patch Works as advertised. The autobarcode is filling in when duplicating a patron.
Created attachment 12137 [details] [review] patch with second signoff Patch with second signoff -- also reformatted the commit message. I've also confirmed that the patch applies cleanly and works in 3.8.x, and request that the RMaint consider cherry-picking this once it's applied to master.
QA Comments: works as expected, nothing to say. Marked as Passed QA.
Patch pushed to master
Applies and works, pushed to 3.8.x, will be in 3.8.5