Closed rglss closed 3 years ago
Version? Should have been fixed in 0.9.5
Here: a02dff7, PR #49
0.9.6 - Something's been lost somewhere it seems...
Is the text exactly Full Ending
with no left paren? If so it won't match. But that is odd, as you'd Compass would be able to serialise ending dates consistently...
Ahh found it - this error is being thrown on get_roles_tab rather than get_training_tab where the above patch is applied.
PR to fix - although bit unusual to have an end date in 2024 - most I see are for less than a year!
Released v0.9.7
to fix.
See PR comment - I don't think this patch will resolve the issue
Released v0.9.8
to fix the fix that didn't fix things.
Soz - I had a PR ready to roll but your first try beat me to it. Just too damn efficient Adam 😆
Should have said - I'd've held off!
Sorry for the ineptitude - but an interesting design decision to use parens in one place (training tab) and not in another (roles). I hope that the same data backs both, otherwise we may find some interesting data-sync bugs!
Yer, it really is. The good news is out of the whole county thats the only issue i've encountered!
When a role is full, but has an end date defined (i.e. CC) this throws a parsing error:
unexpected value; permitted: 'Cancelled', 'Closed', 'Full', 'Pre provisional', 'Provisional' (type=value_error.const; given=Full Ending DD MMM YYYY; permitted=('Cancelled', 'Closed', 'Full', 'Pre provisional', 'Provisional'))