Something went wrong while setting issue due date.
Unique value generation in templates is broken
Closed
Unique value generation in templates is broken
In old FD versions there was a feature to generate uids based on a placeholder, which used a syntax like "{id:4}" to ask for an id up to 4 digits if needed for unicity.
In current documentation it is stated:
%s[4-8]|sn% a substring of "Last name" field, taking minimum 4 characters (more if needed for unicity).
But I fear this feature is not working anymore from looking at the code. gen_uids
is never called.
I’m not sure how this feature should be added back or implemented but there should be a way to ask a template to add integers if needed for unicity, this is quite common for logins and avoids errors when account creation is automated.