erp5_discussion: change reference generation behavior on forum thread creation
Previous behavior was to generate reference this way : `sanitized title` if reference was not already existing else `random "-" sanitized title`. Now it generates `sanitized title "-" random` with: - `random` at the end to maximize search engine optimization; - `random` every time present to prevent creating document with the same reference by mistake. + update tests
Showing
Please register or sign in to comment