To reproduce: 1. Create a new patron, leave the expiry date blank (which the text claims will auto calculate) 2. Note that the expiry date for the new patron is something like '00/02/0'. Expected result: 1. The expiry date will be a valid date. Note: * Need to decide on what a good default date is.
> * Need to decide on what a good default date is. Each patron category has an enrollment period. The expiration date is supposed to be getting populated based on that number (today + XX months).
As alternative to the enrollment period there is a new feature for an 'until date' in 3.2. If there is an 'until date', it is the expiry date.
Thanks, yeah, I found that after a bit more poking around.
This seems to actually trace back to the default when you create a new patron category. If you don't set it, it starts with a broken default.
Created attachment 2317 [details] [review] proposed patch
Pushed please test